DEV Community

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
 
praneetnadkar profile image
Praneet Nadkar

Using Regex in C#

var vowelCount = Regex.Matches(input, @"[AEIOUaeiou]").Count;