Skip to content

Instantly share code, notes, and snippets.

View lyssacavalcanti's full-sized avatar
:octocat:
Tech to thrive together.

Lyssa Cavalcanti Backschat lyssacavalcanti

:octocat:
Tech to thrive together.
View GitHub Profile
@lyssacavalcanti
lyssacavalcanti / Regular Expressions - Match Single Character with Multiple Possibilities
Last active August 11, 2021 02:16
Regular Expressions - Match Single Character with Multiple Possibilities
Use a character class with vowels (a, e, i, o, u) in your regex vowelRegex to find all the vowels in the string quoteSample.
Note: Be sure to match both upper- and lowercase vowels.
Tests:
You should find all 25 vowels.
Your regex vowelRegex should use a character class.
Your regex vowelRegex should use the global flag.