REGEX-Escape for: $env:USERNAME

Your Input:
Result, the escaped string:
\$env\:USERNAME


Ads

What must the escaping look like for:
$env:USERNAME

The excaped text for use in a regex is:

\$env\:USERNAME


Ads