This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Need validation for name field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need validation for name field" Watch "Need validation for name field" New topic
Author

Need validation for name field

angelin precilla
Ranch Hand

Joined: Sep 11, 2007
Posts: 33
Hi all,
I need to validate a name field which supports letters,numbers,spaces,periods,hyphens,apostrophe.Name field should start letters or number.
I have done validation for this....
var userIdExpr = /^[a-zA-Z0-9][a-zA-Z0-9 '\.-]*$/;
But additionally, I need to support extended characters for this name field.....
Extended characters means German characters � ���������
French Characters � ��������������
Could anyone help me......
Its very urgent....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need validation for name field