Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Mask Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Mask Validation" Watch "Mask Validation" New topic

Mask Validation

Jazzy Sanchez
Ranch Hand

Joined: Apr 02, 2006
Posts: 35
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.

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
Similar Threads
Validating domain name with struts validator
validation doubt
Validation FrameWork Question
Phone Number Regular Expression With Struts Validator
Help with validation rules for form with multiple submit buttons