# Patterns

Patterns: Patterns: Regular Expressions with -match.

Updated: November 10, 2026

1. [Patterns: Regular Expressions with -match](https://www.ask-codey.com/lessons/powershell-regular-expressions) (Journeyman): 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.

Source: https://www.ask-codey.com/courses/powershell-in-depth/topics/powershell-patterns
