php - starts with numbers ends in a letter -


ok need found out away find out if url being requested starting 5 digits , ends letter

13373w 

i know if this

(\d+) 

is matches numbers (digits) once had w on end of string no longer works.

i wondering correct way - bigger , more people join, move 6 numbers , on, letter should @ end.

any here welcomed.

the answer found use code

dispatch_get("^/(\d+[a-z])", array($redi, 'pet')); 

stupid me more research of showed me this...

the regular expression should be:

/\d+[a-z]$ 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -