PHP Regex Help

Hi Professional Web Programmers,

I need help with regex…

I have this string

$str = “http%3A%2F%2FvXX”; - where XX is an integer, it could be 1 or 2 digit…

You see, what i want is to retrieve the XX (integer) from $str using regex…

If anyone could help, I ask the Lord to give him/her beautiful angels in heaven…:slight_smile:

This should work
/([0-9]){1,2}$/