Parsing Text with PowerShell (3/3)

added by DotNetKicks
1/28/2019 5:29:22 PM

1 Kicks, 512 Views

This is the third and final 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 General structure of a switch-based parser The real world example In the previous posts, we looked at the different operators what are available to us in PowerShell.