03-19-2008, 09:39 PM
|
#36 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Code:
/^[a-z][a-zA-Z0-9_]{3,27}$/
{1} may be omitted in this case since you only need one letter to validate the beginning of the string, so the repetition doesn't make any sense.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|