Patterns: Regular Expressions with -match

A regular expression describes the shape of the text you want, such as two letters, a dash and some digits, and -match tests text against it, $Matches holds what it found, and Select-String uses the same patterns across many files.

Updated

Cheat sheet for the lesson Patterns: Regular Expressions with -match: A regular expression describes the shape of the text you want, such as two letters, a dash and some digits, and -match tests text against it, $Matches holds what it found, and Select-String uses the same patterns across many…
Category
PowerShell
Level
Journeyman
Tags
match, matches, operating-system, powershell, regular-expression, select-string