MENU

Fun & Interesting

PowerShell Regular Expressions

Niklas Borson 455 1 year ago
Video Not Working? Fix It Now

This video explains how to use regular expressions in PowerShell. A regular expression defines a pattern that can be matched against input text. This video demonstrates how to use regular expressions with the PowerShell -match, -replace, and -split operators. PowerShell regular expressions are documented here: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_regular_expressions Here's a useful quick reference for PowerShell (and .NET) regular expressions: https://learn.microsoft.com/dotnet/standard/base-types/regular-expression-language-quick-reference

Comment