REGEX-Escape from: function(){return n.onNewAlertReceived()}

Your Input:
Result, the escaped string:
function\(\)\{return n\.onNewAlertReceived\(\)\}

What must the escaping look like for:
function(){return n.onNewAlertReceived()}

The excaped text for use in a regex is:
function\(\)\{return n\.onNewAlertReceived\(\)\}


Ads