REGEX-Escape for: var output = {"turnURI":"turn:turn-01.nomadeec.org:5349",&q...

Your Input:
Result, the escaped string:
var output \= \{"turnURI"\:"turn\:turn\-01\.nomadeec\.org\:5349","turnUsername"\:"nomadeec","turnCredential"\:"9438c7e825ba9e88e533a40602b21bb9","stunURI"\:"stun\:turn\-01\.nomadeec\.org\:3478"\};

What must the escaping look like for:
var output = {"turnURI":"turn:turn-01.nomadeec.org:5349","turnUsername":"nomadeec","turnCredential":"9438c7e825ba9e88e533a40602b21bb9","stunURI":"stun:turn-01.nomadeec.org:3478"};

The excaped text for use in a regex is:
var output \= \{"turnURI"\:"turn\:turn\-01\.nomadeec\.org\:5349","turnUsername"\:"nomadeec","turnCredential"\:"9438c7e825ba9e88e533a40602b21bb9","stunURI"\:"stun\:turn\-01\.nomadeec\.org\:3478"\};


Ads