A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 02, 2006
Aug 06, 2007 22:19:00
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 ]
subject: Mask Validation
Validation FrameWork Question
Validating domain name with struts validator
Phone Number Regular Expression With Struts Validator
Help with validation rules for form with multiple submit buttons
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013