Q:

Regex - Select number between two characters

I can't figure out how to find a digit in a string like the following: Picture15.jpg. Does anyone have a RegEx of how to extract this digit in PHP?

A:

Try 
preg_match("/(\d+)/", "Picture15.jpg", $m);
echo $m[1];

