Whats wrong in that "Match Single Character with Multiple Possibilities"

Tell us what’s happening:

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; // 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/72.0.3626.109 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/match-single-character-with-multiple-possibilities

Hi!

  1. You don’t need the . inside the regex
  2. You should look at the result variable. There you’ll need to add something. Think about it for a little :wink: (HINT: What are you doing with quoteSample? )
1 Like

opps…!!! thanks for replying
the is so silly of me:sweat_smile::sweat_smile::stuck_out_tongue: