Need a help for 'Match Letters'

Need a help for 'Match Letters'
0

#1

Tell us what’s happening:

can anyone tell me, what is problem here with my code? i checked with all posible combination, still not able to moved on!

Your code so far


let quoteSample = "The quick brown fox jumps over the lazy dog.";
let alphabetRegex = /[a-z]gi/; // Change this line
let result = quoteSample.match(alphabetRegex); // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36.


#2

What are you expected to do?

Can you add a link to the exercise?


#3

Flags in a regex go after the final /
In this case you are matching any letter followed by a “g” and an “i”