how can i make textbox for password that only accept character , special character and (0-9) ??

i want to make textbox for password that only accept character , special character and (0-9) in C# .net window application...

just follow the below link ..

http://onlinepasswordgenerator.com/cgi-bin/password.cgi
how can i design textbox for that ???
Parth48Asked:
Who is Participating?
 
Asim NazirConnect With a Mentor Commented:
Hi,

You can use a regular expression like "^[a-zA-Z0-9_]*$" to validate input or you can also use a mask with normal textbox control.

I hope this helps....
Thanks.
0
 
kswathiCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.