Skip to content

Instantly share code, notes, and snippets.

@AlJohri
Created August 25, 2013 06:58
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 AlJohri/6332399 to your computer and use it in GitHub Desktop.
Save AlJohri/6332399 to your computer and use it in GitHub Desktop.
How do I split an NU email address into first name and last name?
use a case sensitive regular expression
find: (([A-Z]\w+)([A-Z]\w+)((\d+).)?201\d@u.northwestern.edu$)
replace: $2 $3 $5 $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment