File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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