REGEX-Escape for: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Your Input:
Result, the escaped string:
Mozilla\/5\.0 \(Windows NT 10\.0; WOW64; Trident\/7\.0; rv\:11\.0\) like Gecko


Ads

What must the escaping look like for:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

The excaped text for use in a regex is:

Mozilla\/5\.0 \(Windows NT 10\.0; WOW64; Trident\/7\.0; rv\:11\.0\) like Gecko


Ads