utf9k

Something to think about: The invention of sport was a mistake!

How can I perform a regex search in Powershell?

In which I remind myself how to search using regexes in Powershell

Published
Tag

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

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