Problem 22. Remove the vowels
Remove all the vowels in the given phrase.
Example:
Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wnt p th hll'
Solution Stats
Problem Comments
-
13 Comments
Show
10 older comments
Satwik
on 15 Jun 2023
Easiest way is to solve using regexp
Yacine
on 5 Oct 2024
WHAT IN THE HOLY MATLAB IS REGEXP T-T
Nicolas Douillet
on 1 Jul 2025 at 18:14
y is also a vowel in french. How couldn't i be ?! Weird.
Solution Comments
Show commentsProblem Recent Solvers6340
Suggested Problems
-
Return the largest number that is adjacent to a zero
5431 Solvers
-
2094 Solvers
-
11174 Solvers
-
Remove the two elements next to NaN value
664 Solvers
-
Calculate the area of a triangle between three points
3239 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!