REGEX-Escape for:
(?i){!Custom.([^}]*)}

Your Input:

Ads

Result, the escaped string:

\(\?i\)\{\!Custom\.\(\[\^\}\]\*\)\}

Ads

What must the escaping look like for:
(?i){!Custom.([^}]*)}

The escaped text for use in a regex is:

\(\?i\)\{\!Custom\.\(\[\^\}\]\*\)\}


Ads