Skip to content

Instantly share code, notes, and snippets.

@tomleo
Created January 16, 2015 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomleo/6954c95ab39a0b11fa84 to your computer and use it in GitHub Desktop.
Save tomleo/6954c95ab39a0b11fa84 to your computer and use it in GitHub Desktop.
Grepping Names
# Last, Middle, First
(\w+)(,\ )(\w+.),\ (\w+)
# First Middle. Last, Title
(\w+)\ (\w+).\ (\w+),\ (\w+)
# First Last (via Twitter)
(\w+)\ (\w+)\ (\([\w\ ]+\))
# Last, First (CONTR)
(\w+),\ (\w+)\ (\(\w+\))
# First Last Title.
(\w+)\ (\w+)\ (\w+).
# First Middle. Last <including unicode ' char>
\w+\ \w+.\ [\w|\']+
# Last, First Middle
\w+, \w+\ \w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment