How can I perform a regex search in Powershell?

ยท Around 1 minute

You can check if a character contains a string by using the cmatch operator like so:

$word = "Hello"
$word -cmatch "[A-Z]"
// True
$word = "Hello"
$word -cmatch "[A-Z]"
// True