Created
October 10, 2020 21:32
-
-
Save steinelu/73335bcf08b72a868d9023ca402949cc to your computer and use it in GitHub Desktop.
How to use matchgroups in powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Hallo Welt!" | Select-String ".* (.*)" | ForEach-Object {$_.Matches.Groups[1]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment