Check For Mixed Grouping of Characters test

Hi guys.why exactly is my test not passing??

Your code so far

let myString = "Eleanor Roosevelt";
let myRegex = /(Franklin|Eleanor).*Roosevelt/i // 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; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Check For Mixed Grouping of Characters

Link to the challenge:

You need to assign the value of myRegex.test(myString) to a variable named result.

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