Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
posted 10 years ago
Hi. I would like to filter from user input characters less than "<" and greater than ">". Now, I found this to work if both characters exist.
<var-name>mask</var-name> <var-value><![CDATA[ ^[^<]*[^>]*$ ]]></var-value>
How can I modify that expression to validate any "<" or ">"?
[ August 06, 2007: Message edited by: Jazzy Sanchez ]
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Phone Number Regular Expression With Struts Validator
Validating domain name with struts validator
Help with validation rules for form with multiple submit buttons
Validation FrameWork Question