{"ScriptPreparationCode":"var string = \u0022lexi.fletcher23@gmail.com|Gymeast1!\u0022;\r\nvar regex = /@yahoo\\.|@gmail\\.|@hotmail\\.|@live\\.|@outlook\\./i;","TestCases":[{"Name":"RegEx.test","Code":"if(regex.test(string))\r\n return true;\r\nelse \r\n return false;","IsDeferred":false},{"Name":"String.includes","Code":"string = string.toLowerCase();\r\nif(string.includes(\u0022@yahoo.\u0022) || string.includes(\u0022@gmail.\u0022) || string.includes(\u0022@hotmail.\u0022) ||string.includes(\u0022@live.\u0022)||string.includes(\u0022@outlook.\u0022))\r\n \treturn true;\r\nelse \r\n \treturn false;","IsDeferred":false},{"Name":"String.match","Code":"if(string.match(regex))\r\n return true;\r\nelse \r\n \treturn false;","IsDeferred":false},{"Name":"String.indexOf","Code":"string = string.toLowerCase();\r\nif(string.indexOf(\u0022@yahoo.\u0022) || string.indexOf(\u0022@gmail.\u0022) || string.indexOf(\u0022@hotmail.\u0022) ||string.indexOf(\u0022@live.\u0022)||string.indexOf(\u0022@outlook.\u0022))\r\n return true;\r\nelse \r\n \treturn false;","IsDeferred":false}]}