Click here to Skip to main content
16,005,037 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,


How to validate the name when we enter it in a textbox.

The name should not contain any special character in the end.For example it should not allow the user to enter harry_.But we can allow harry_cooper.



Thanks
Posted

Here you go, both articles by same author. Use these for Regular Expressions here after

Expresso - A Tool for Building and Testing Regular Expressions[^]
Expresso - The 30 Minute Regex Tutorial[^]
 
Share this answer
 
Comments
RaviRanjanKr 19-Nov-11 9:35am    
Nice Link, My 5+
Hi,
Regx[^]
 
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