<?php $input = "fishPrice/1572268723Career Portal.pdf"; echo preg_match("~\d{10}\K[^.]+~", $input, $out) ? $out[0] : 'fail';
You have javascript disabled. You will not be able to edit any code.