This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Specifying the characters that cannot be present using PATTERN
First hand at RegEx
regular expression
Regex problem
Regular expression - help