REGEX-Escape for: <h2 style="color: #FFFFFF;">You don't want to miss this.</h2>

Your Input:
Result, the escaped string:
\

You don't want to miss this\.\<\/h2\>


Ads

What must the escaping look like for:
<h2 style="color: #FFFFFF;">You don't want to miss this.</h2>

The excaped text for use in a regex is:

\<h2 style\="color\: #FFFFFF;"\>You don't want to miss this\.\<\/h2\>


Ads