|
|
Browse by Tags
All Tags » asp.net » regex » regular expression validator
-
I'm trying to create a regex that has the following requirements:
1. must be at least 7 characters in length
2. must contain at least 1 digit
3. must contain at least 1 lowercase letter
4. must contain at least 1 uppercase letter
5. must contain at least one of the following symbols: = ! $ % ^ & +
6. It must reject any word that ...
-
I am assuming you mean that if there is an "@" sign in the text box you want the validator to not allow the text through.
For help with asp.net controls you really should be at the http://aspadvice.com forums. This is for help with regular expressions. The regex you need is
^[^@]+$
So the asp.net you will need is something like ...
|
|
|