REGEX-Escape for: (?<=-g).+?(?=.tar.gz)

Your Input:
Result, the escaped string:
\(\?\<\=\-g\)\.\+\?\(\?\=\.tar\.gz\)

Ads

What must the escaping look like for:
(?<=-g).+?(?=.tar.gz)

The excaped text for use in a regex is:

\(\?\<\=\-g\)\.\+\?\(\?\=\.tar\.gz\)


Ads