Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need validation for name field

 
angelin precilla
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!