{"ScriptPreparationCode":"String.prototype.replaceAllRegex = function(search, replacement) {\r\n var target = this;\r\n return target.replace(new RegExp(search, \u0027g\u0027), replacement);\r\n};","TestCases":[{"Name":"replace regex","Code":"\u0022this is it\u0022.replace(/ /g, \u0022\u002B\u0022);","IsDeferred":false},{"Name":"replace All","Code":"\u0022this is it\u0022.replaceAll(\u0022 \u0022, \u0022\u002B\u0022);","IsDeferred":false},{"Name":"replace All Regex","Code":"\u0022this is it\u0022.replaceAllRegex(\u0022 \u0022, \u0022\u002B\u0022);","IsDeferred":false}]}