{"ScriptPreparationCode":"var wordArray = new Array();\r\n\r\nfor (var i = 0; i \u003C 500; i\u002B\u002B) {\r\n wordArray.push(\u0022Test\u0022 \u002B (i \u002B 1));\r\n}\r\n\r\nvar testText = \u0022This is a normal Text with Test323 and Test400\u0022;","TestCases":[{"Name":"Regex OR","Code":"var wordsString = wordArray.join(\u0022|\u0022);\r\nvar regexExp = new RegExp(\u0060\\\\b${wordsString}\\\\b\u0060, \u0022gi\u0022);\r\n\r\nvar result1 = regexExp.test(testText);","IsDeferred":false},{"Name":"Multiple Regex","Code":"var result2 = wordArray.filter((word) =\u003E {\r\n const wordExp = new RegExp(\u0060\\\\b${word}\\\\b\u0060, \u0022gi\u0022);\r\n return wordExp.test(testText);\r\n}).length \u003E 0 || false;","IsDeferred":false}]}