Created
September 2, 2021 19:39
-
-
Save chrislachance/287e3ebc530bc8ae4513a2e5e994e781 to your computer and use it in GitHub Desktop.
Regex pattern for Full name with space checking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^[A-Z][a-z]+\s[a-zA-Z\s\.]+ | |
Matches "Chris L", "Chris LaChance", and "Rico del Sola" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Supports "." in second word onward too. Doesn't support characters with accents :(