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
Post a Comment