Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using struts validate mask with foreign characters

Status
Not open for further replies.

mdjj

Programmer
Mar 28, 2006
3
0
0
GB
I need to validate my web app for european characters. I can do it by allowing individual characters in the mask i.e.

<constant>
<constant-name>alphaForeignCheck</constant-name>
<constant-value>^[a-zA-Z è\s]*$</constant-value>
</constant>

This will allow for alphas and è. But rather than list individual foreign characters is there a way to group say all french all german characters?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top