Tell us what’s happening:
I have written you can see now . I used the vowels and also the global & insensitive flag but still can’t figure out how to find all of the 25 vowels & Your regex should not match any consonants.
Need help thanks.
Your code so far
let quoteSample = "Beware of bugs in the above code; I have only proved it correct, not tried it."; let vowelRegex = /[aeiou]/gi; // Change this line let result = vowelRegex.length; // 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/67.0.3396.99 Safari/537.36.