Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all,
pls help me......

i want to validate a Textbox from regular expression/ javascript that Maximum length of textbox should be 10 Characters Without Space or Special Characters
Posted

1 solution

Regex:
\w{1,10}

Get a copy of Expresso [^] - it's free, and it examines and generates Regular expressions.
 
Share this answer
 
Comments
Rajeev prasad yadav 23-Dec-11 5:54am    
Thanks a lot, now i'm have solve my problem...
RaisKazi 23-Dec-11 10:22am    
My 5.

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