REGEX-Escape for:
eval("do" + "cu" + "ment.wr" + "ite('" + ss + "');")

Your Input:

Ads

Result, the escaped string:

eval\("do" \+ "cu" \+ "ment\.wr" \+ "ite\('" \+ ss \+ "'\);"\)

Ads

What must the escaping look like for:
eval("do" + "cu" + "ment.wr" + "ite('" + ss + "');")

The escaped text for use in a regex is:

eval\("do" \+ "cu" \+ "ment\.wr" \+ "ite\('" \+ ss \+ "'\);"\)


Ads