Skip to content

Instantly share code, notes, and snippets.

@xdissent
Created February 19, 2010 01:04
Show Gist options
  • Save xdissent/308292 to your computer and use it in GitHub Desktop.
Save xdissent/308292 to your computer and use it in GitHub Desktop.
Regex to convert "Last, First" to "First Last"
s/([^,]+),\s+(.*)/\2 \1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment