Skip to content

Instantly share code, notes, and snippets.

@adbertram
Created July 3, 2024 14:24
Show Gist options
  • Save adbertram/a50bd4a164b2275fffaebabd49db0ffa to your computer and use it in GitHub Desktop.
Save adbertram/a50bd4a164b2275fffaebabd49db0ffa to your computer and use it in GitHub Desktop.
"Smith, John" -replace "(\w+),\s*(\w+)", '$2 $1'
## John Smith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment