Problem Statement Correction: JS Regex

Tell us what’s happening:
The problem statement requires us to match range of letter between h and s, 2 and 6.
I understood it to mean 3,4,5 and similar for the alphabets.

It should state “both inclusive”.

Your code so far


let quoteSample = "Blueberry 3.141592653s are delicious.";
let myRegex = /[h-s2-6]/ig; // Change this line
let result = quoteSample.match(myRegex); // Change this line
console.log(result)

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0.

Challenge: Match Numbers and Letters of the Alphabet

Link to the challenge: