REGEX-Escape for: ^(?=.*((MDBPRD|BIDBPRD|MCAPPPRD|BSPRDAP))-).*$

Your Input:
Result, the escaped string:
\^\(\?\=\.\*\(\(MDBPRD\|BIDBPRD\|MCAPPPRD\|BSPRDAP\)\)\-\)\.\*\$


Ads

What must the escaping look like for:
^(?=.*((MDBPRD|BIDBPRD|MCAPPPRD|BSPRDAP))-).*$

The excaped text for use in a regex is:

\^\(\?\=\.\*\(\(MDBPRD\|BIDBPRD\|MCAPPPRD\|BSPRDAP\)\)\-\)\.\*\$


Ads