REGEX-Escape for: ^(?=.*\s((Sigma|coret1|hpca|proxima|xmlts))\s).*$

Your Input:
Result, the escaped string:
\^\(\?\=\.\*\\s\(\(Sigma\|coret1\|hpca\|proxima\|xmlts\)\)\\s\)\.\*\$


Ads

What must the escaping look like for:
^(?=.*\s((Sigma|coret1|hpca|proxima|xmlts))\s).*$

The excaped text for use in a regex is:

\^\(\?\=\.\*\\s\(\(Sigma\|coret1\|hpca\|proxima\|xmlts\)\)\\s\)\.\*\$


Ads