Tell us what’s happening:
I could not understand what they wanna say
please help me for this
Your code so far
let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it.";
let vowelRegex = /[a-z|A-Z]/; // Change this line
let result = quoteSample.match(vowelRegex); // Change this line
Your browser information:
Link to the challenge:
Take a look at the instructions again. It wants you to find and match only vowels.
But you are matching all alphabets.
Just a extra note
[a-zA-Z] is more accurate for all alphabets.
[ '|', index: 3, input: 'FOO|BAR', groups: undefined ]
| is a literal character.