{"ScriptPreparationCode":"function removeCharFrom1(str, char) {\r\n const regex = new RegExp(\u0060${char}\u0060, \u0022gi\u0022);\r\n return str.replace(regex, \u0022\u0022);\r\n}\r\n\r\nfunction removeCharFrom2(str, char) {\r\n return str\r\n .split(\u0022\u0022)\r\n .filter((c) =\u003E c != char.toLowerCase() \u0026\u0026 c != char.toUpperCase())\r\n .join(\u0022\u0022);\r\n}","TestCases":[{"Name":"regex","Code":"removeCharFrom1(\u0022ElddzeroD WebDD ddSchool\u0022, \u0022d\u0022);","IsDeferred":false},{"Name":"filter","Code":"removeCharFrom2(\u0022ElddzeroD WebDD ddSchool\u0022, \u0022d\u0022);","IsDeferred":false}]}