DEV Community

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
 
listnux profile image
ListNUX • Edited

Shell/awk oneliner:

string="Some random string"
awk '{IGNORECASE=1; print gsub(/a|e|i|o|u/, "")}' <<< $string