G
Guest
Hi,
I am setting up RegularExpressionValidators for my form elements and found
no way of doing the following:
1) to validate so that Textbox.text does not contain certain phrases. e.g.
I don't want user to enter any of the following phrases (regex syntax):
(asp|php|zip)
2) to validate so that Textbox.text is not numeric (must have at least one
non-numeric characters)
I tried:
\D+
and it doesn't work
I am setting up RegularExpressionValidators for my form elements and found
no way of doing the following:
1) to validate so that Textbox.text does not contain certain phrases. e.g.
I don't want user to enter any of the following phrases (regex syntax):
(asp|php|zip)
2) to validate so that Textbox.text is not numeric (must have at least one
non-numeric characters)
I tried:
\D+
and it doesn't work