Title |
Test
Find
person name
|
Expression |
^[a-zA-Z][a-zA-Z\-' ]*[a-zA-Z ]$ |
Description |
Check for person name in database for example.
A person name is a string compound of letters in upper or lower case and three more typographical characters, the hyphen (-), the simple quote or apostrophe (') and the space. For these three characters, not at the beginning or the end of the string. |
Matches |
Pierre-Francis d'Astier de Weyergans-Migery|Jeanne d'Arc|Nicolas Sarkozy|Charles de Gaulle|Dominique Strauss-Kahn |
Non-Matches |
-tutu|tutu-|'tutu|tutu'|tu1tu|tu*tu|1tutu|tutu* |
Author |
Rating:
Not yet rated.
Frédéric BROUARD
|
Source |
|
Your Rating |
|
Title: Single character
Name: Anonymous
Date: 6/9/2012 6:20:14 AM
Comment:
Did not allow name with single character