Forum Moderators: coopster
[pre]preg_match('/^.*?(\/[^\/]+)*\/([\d]+)\..+$/', $input, $out);echo $out[1];[/pre]