Regular Expressions: Match Letters of the Alphabet //null results

Hey all am having trouble with this challenge , am getting null results , what’s the problem?

Tell us what’s happening:

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

console.log(result);

Your browser information:

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

Challenge: Match Letters of the Alphabet

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/regular-expressions/match-letters-of-the-alphabet

look at where you put your flags
you are trying to match a lower case letter then a space then "gi"
nothing in the string match that

i removed the space , still doesn’t work

now you are trying to match any letter followed by gi, and your regex doesn’t have flags

so what’s the solution??

do you want to match or that should be your flags?

my flags i guess ,
Use a character class with vowels ( a , e , i , o , u ) in your regex vowelRegex to find all the vowels in the string quoteSample .

Note
Be sure to match both upper- and lowercase vowels.

found my mistake thank you!!!