Check For Mixed Grouping of Characters
Summary
- Parentheses can be used to check string groups.
Final Code
let myString = "Eleanor Roosevelt";
let myRegex = /(Franklin|Eleanor).*Roosevelt/;
let result = myRegex.test(myString); // Change this line
// After passing the challenge experiment with myString and see how the grouping works