Click here to Skip to main content
15,886,088 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,
I need validation expression for username that username must be start with a alpha character & contain only alphanumeric & . or _ characters.

Thanks In Advanced.
:)
Posted

see here
Same Discussion
 
Share this answer
 
Comments
P.Salini 5-Nov-11 4:37am    
My 5:)
You may refer CodeProject Article for "Regular Expressions".

Learn Regular Expressions (RegEx) with Ease
 
Share this answer
 
Try:
^[\w][\w\.&]+$


Get a copy of Expresso [^] - it's free, and it examines and generates Regular expressions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900