posted 18 years ago
Hi all
I am trying to validate username using validator rules
For my username, the requirements are
First character should be a-z,A-Z
Remaining characters can be a-z,A-Z,0-9,_
i want regular expression to include in the mask
I tried giving ^[a-zA-z]\d{1}[a-zA-Z0-9_]\d{2,25}
its not working,
Hope anyone correct me
Thanks in advance