Match Letters of the Alphabet "Your regex alphabetRegex should match 35 items."?

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).length; // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0.

Link to the challenge:

Hello, i don’t understand why the test failed :frowning:

Hi @JeanSebastien

You don’t need to call .length. The test wants the returned array from .match .

1 Like

Oh yeah… The test is good… Thanks so much i’m stupid :rofl: