File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
It's not a secret anymore!