This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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