Parsing Text with PowerShell (2/3)

added by DotNetKicks
1/24/2019 5:39:23 PM

1 Kicks, 458 Views

This is the second post in a three-part series. Part 1: Useful methods on the String class Introduction to Regular Expressions The Select-String cmdlet Part 2: the -split operator the -match operator the switch statement the Regex class Part 3: a real world, complete and slightly bigger, example of a switch-based parser The -split operator splits one or more strings into substrings.