{"ScriptPreparationCode":"var strIn = \u0022John Test Test @\u0022;\r\nvar pattern = /[0-9a-zA-Z-_, ]/gi;","TestCases":[{"Name":"Slice","Code":"strIn = !pattern.test(strIn) ? strIn.slice(0, -1) : strIn;","IsDeferred":false},{"Name":"Replace","Code":"if (!pattern.test(strIn)) {\r\n\t\tstrIn = strIn.replace(pattern, \u0022\u0022);\r\n\t}","IsDeferred":false}]}