Match Single Characters Not Specified help

please help it isnt matching 9 chracters

Your code so far

let quoteSample = "3 blind mice.";
let myRegex = /[^aeiou1-10]/gi; // Change this line
let result = quoteSample.match(myRegex); // 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/67.0.3396.99 Safari/537.36.

Link to the challenge:

First note that 1-10 is not a valid grouping. Only 0-9 is valid. (There are 10 numerals to find in any number and they are 0 to 9).
Edit: removed my second point because i was wrong…

Writing regex expressions is hard. My suggestion is to use a regex tester like to confirm your expression.

1 Like

I agree changing 1-10 to 0-9 should help, remember the FCC test is syntax focused.