{"ScriptPreparationCode":"var str = \u0027hEllo#hello#####jhSdjf#\u0027;","TestCases":[{"Name":"Regex","Code":"const [whole, one, two] = [...str.matchAll(/([^#]*)#(.*)/gmi)];\r\nconst result = one\u002B\u0022#\u0022\u002Btwo","IsDeferred":false},{"Name":"Split and Join","Code":"const [beforeHash, ...afterFirstHash] = str.split(\u0027#\u0027);\r\nconst result = beforeHash\u002B\u0022#\u0022\u002BafterFirstHash.join(\u0022#\u0022)","IsDeferred":false},{"Name":"indexof","Code":"const ind = str.indexOf(\u0027#\u0027);\r\nconst result = str.substring(0, ind) \u002B \u0022#\u0022 \u002B str.substring(ind\u002B1);","IsDeferred":false}]}