Tell us what’s happening:
Okay, so basically I’ve been trying to solve this particular challenge since yesterday but I can’t find a solution I even checked the official solution and my code matches it please tell me what is wrong
Your code so far
let myString = "Eleanor Roosevelt";
let myRegex = /(Franklin|Eleanor) .* Roosevelt/ig; // Change this line
let result =myRegex.test(myString) ; // Change this line
// After passing the challenge experiment with myString and see how the grouping works
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
.
Challenge: Check For Mixed Grouping of Characters
Link to the challenge: