Learn Regular Expressions: Match

Tell us what’s happening:
Hi
I cannot get past this test, not sure if the eyes are just tired and I have a character where I shouldn’t have one. I did my test and when I run it, it did not go past to the next test. I finally checked the hint and it seems that the code is correct. I need to go past to the next test, anyone help?

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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36.

Challenge: Match Letters of the Alphabet

Link to the challenge:

“a followed by dash followed by z”, is this the pattern you want?

O, my you see…eyes are getting tired. I forgot the square brackets

thanks