Check For Mixed Grouping of Characters exercise

Tell us what’s happening:
Describe your issue in detail here.
here let myRegex = /(Franklin|Eleanor).*Roosevelt/; // Change this line
may I know whtat .* means ?

Your code so far


let myString = "Eleanor Roosevelt";
let myRegex = /(Franklin|Eleanor).*Roosevelt/; // Change this line
let result = true; 
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/99.0.4844.74 Safari/537.36

Challenge: Check For Mixed Grouping of Characters

Link to the challenge:

Hi there!
. matches any character (except for line terminators)

I find this website useful when writing regex :slight_smile:

1 Like

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