{"ScriptPreparationCode":"String.prototype.replaceAll = function(search, replacement) {\r\n var target = this;\r\n return target.replace(new RegExp(search, \u0027g\u0027), replacement);\r\n};","TestCases":[{"Name":"replace manual","Code":"\u0022https://www.testurl.com\u0022\r\n .replace(\u0027www.\u0027, \u0027\u0027)\r\n .replace(\u0027http://\u0027, \u0027\u0027)\r\n .replace(\u0027https://\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"replace regex","Code":"\u0022https://www.testurl.com\u0022.replace(new RegExp(/^(https?:\\/\\/)?(www\\.)?/, \u0027g\u0027), \u0027\u0027);","IsDeferred":false}]}