Skip to content

Instantly share code, notes, and snippets.

@adbertram
Created July 3, 2024 14:24
Show Gist options
  • Select an option

  • Save adbertram/a50bd4a164b2275fffaebabd49db0ffa to your computer and use it in GitHub Desktop.

Select an option

Save adbertram/a50bd4a164b2275fffaebabd49db0ffa to your computer and use it in GitHub Desktop.

Revisions

  1. adbertram created this gist Jul 3, 2024.
    2 changes: 2 additions & 0 deletions powershell_tip
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    "Smith, John" -replace "(\w+),\s*(\w+)", '$2 $1'
    ## John Smith