I have validation on first and last name like so
regex_match[/^[a-zA-Z \'-()]{0,25}+$/]
Are there any characters I am missing? how do I know what characters are exceptable for first and last name.
or is there a regex_match for names?
I have validation on first and last name like so
regex_match[/^[a-zA-Z \'-()]{0,25}+$/]
Are there any characters I am missing? how do I know what characters are exceptable for first and last name.
or is there a regex_match for names?
Try this
regex_match[^[A-Z]'?[- a-zA-Z]( [a-zA-Z])*$]
If you need to go for a name like Jérémie O'Co-nor
Try this
regex_match[^([ \u00c0-\u01ffa-zA-Z'\-])+$]