Write a script that takes a string as an input and returns a cell array containing
I. the count of vowels.
II. Find the index of ‘o’
III. The string removing all the vowels.
IV. The string removing all the letters from a to j.
V. The string removing all the consonants.
VI. The string replacing all the vowels with an asterisk (*)
VII. The string removing all the digits.
Hint: Use Regular Expression

Solution Stats

53 Solutions

20 Solvers

Last Solution submitted on Mar 19, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers20

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!