How can I perform a regex search in Powershell?
You can check if a character contains a string by using the cmatch operator like so:
$word = "Hello"
$word -cmatch "[A-Z]"
// True
You can check if a character contains a string by using the cmatch operator like so:
$word = "Hello"
$word -cmatch "[A-Z]"
// True