PowerShell - String Operations
In PowerShell, what type of value does the
-match operator return when evaluating a string against a regex pattern?-match operator return when evaluating a string against a regex pattern?-match behavior-match operator returns $true if the regex pattern matches anywhere in the string, otherwise $false.$matches stores the matched substring, the operator itself returns a Boolean value.$text -match 'pattern' returns $true or $false [OK]-match with -replace-match15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions