Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need an asp.net regular expression to to do the following:

Status
Not open for further replies.

toptomato

Programmer
Joined
Jul 22, 2005
Messages
62
Location
US
need an asp.net regular expression to to do the following:
there is a text box. there is also an Regular Expression Validator which is validation text box.
Now i need a regular expression for that Regular Expression Validator such than if any one enters either < > ; in the the text box in any order or form, whether followed by characters or had characters before it, it should cause the validation to return false;
all help will be appriciated.
currently i am using [^<>;]*
but this fails because validation results true when some one enters <html
help....
 
sorry problem resolved. It was firefox browser. once i
set the validateRequest=false. It started detecting it.
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top