Regular Expressions - Check For Mixed Grouping of Characters

Tell us what’s happening:
Passing all tests except for the last one: Your result should return true .
Your code so far

let myString = "Eleanor D. Roosevelt";
let myRegex = /(Franklin|Eleanor).* Roosevelt/; // Change this line
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.41

Challenge: Regular Expressions - Check For Mixed Grouping of Characters

Link to the challenge:

Man, thanks a lot! I spent over an hour trying to figure that out and it was only that simple. I really appreciate that.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.