Title |
Test
Find
JavaScript: American Names (No latin/cyrilic characters)
|
Expression |
^(([A-Z]{1}[a-z]+([\-][A-Z]{1}[a-z]+)?)([ ]([A-Z]\.)){0,2}[ ](([A-Z]{1}[a-z]*)|([O]{1}[\']{1}[A-Z][a-z]{2,}))([ ](Jr\.|Sr\.|IV|III|II))?)$ |
Description |
Allows:
1) first last
2) first mi last
3) first mi mi last
4) first mi O'last
5) first mi mi O'last
6) first-first last
7) first-first mi last
8) first-first mi mi last
9) first-first mi O'last
10)first-first mi mi O'last |
Matches |
Ryan O'Malley | Joseph R. Tanner Jr. | Mary-Lou E. Jones | George H. W. Bush |
Non-Matches |
George Herbert Walker Bush | George Walker Bush | RYan O'Malley | Joseph Tanner, Jr. | Mary-lou E. Jones |
Author |
Rating:
Anton Thorn
|
Source |
|
Your Rating |
|