Hello!
There is a text of the form:
$var = .\`[qwerty`] qwerty.txt. It is necessary to find the escape characters "``" (backquotes) and replace them.
How to do it with regulars? I do this:
$var -replace "``[^.]+``" Finds, replaces, but with the text inside these return quotes.
Those. it turns out:
.\] qwerty.txt How to exclude everything inside?