Register / Login
Win a copy of
Design for the Mind
this week in the
posted 8 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
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