I currently have a regex command which matches php time in a string:
preg_match( '/([a-z]+)_([0-9]{9,})\.jpg/i', $aName, $lMatches );
How can I modify this to also match microtime() in the same match?
Examples:
foobar_1453887550.jpg (match)
foobar_1453887620.8717.jpg (match)
foobar_123.jpg (don't match)
foobar_adsf123123.jpg (don't match)