Regular Expressions
suggest changeSyntax
'text' -match 'RegExPattern''text' -replace 'RegExPattern', 'newvalue'[regex]::Match('text','pattern')for a single match[regex]::Matches('text','pattern')for multiple matches[regex]::Replace('text','pattern','newvalue')[regex]::Replace('text','pattern', { param($m) })for aMatchEvaluator[regex]::Escape('input')to escape special characters
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents