Regular Expressions
Regular Expressions
- Started
- Last post
- 2 Responses
- fugged
hate 'em...
trying to write a regular expressions to match the string
U# (# being in integer)
so...
U1 : OK
U123 : OK
U : not OK
U1P : not OKman i suck at these.
- unfittoprint0
I found this rather useful.
http://pt2.php.net/regexYou can check the forum, they'll give u a quick response.
- fugged0
Thanks mang.
I just figured it out. I needed a $ at the end.
/^U[0-9]+$/