salut ici je ne comprends pas pourquoi ce code ne fonctionne pas
voici mon code
let quoteSample = “Blueberry 3.141592653s are delicious.”;
let myRegex = /h-s2-6/gi; // Change this line
let result =quoteSample.match(myRegex); // Change this line
let quoteSample = "Blueberry 3.141592653s are delicious.";
let myRegex = /h-s2-6/gi; // Change this line
let result =quoteSample.match(myRegex); // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Challenge: Regular Expressions - Match Numbers and Letters of the Alphabet
Link to the challenge: