A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
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 ]
I agree. Here's the link:
subject: Mask Validation
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015