Match Characters that Occur Zero or More Times-Stuck

Tell us what’s happening:

I’ve gotten stuck trying to pass this question. Any help is greatly appreciated

Your code so far

let chewieQuote = "Aaaaaaaaaaaaaaaarrrgh!";
let chewieRegex =/a*/i; // Change this line
let result = chewieQuote.match(chewieRegex);

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36.

Link to the challenge:

Pretty close! You need to also match the first letter that contains the quote.

Give it a try.

Here is the answer. Aa*

1 Like

Thank you very much. For some reason I thought using the ‘i’ flag would work for the capitals.