REGEX-Escape for: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Your Input:
Result, the escaped string:
Mozilla\/4\.0 \(compatible; MSIE 6\.0; Windows NT 5\.0\)


Ads

What must the escaping look like for:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

The excaped text for use in a regex is:

Mozilla\/4\.0 \(compatible; MSIE 6\.0; Windows NT 5\.0\)


Ads