Remove vowels
EasyStrings5 min
Write a function removeVowels(text) that returns the string without the vowels a, e, i, o, u. Capital vowels go too. Every other character stays where it was.
Examples
removeVowels('automation')Returns 'tmtn'
removeVowels('Hello World')Returns 'Hll Wrld'
removeVowels('QA')Returns 'Q'
Asked at EQ Technologic · Source
Loading the editor...
- Input
removeVowels('automation')Expected'tmtn' - Input
removeVowels('Hello World')Expected'Hll Wrld' - Input
removeVowels('QA')Expected'Q'
Hidden tests run on Submit