Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 541. Use of regexp


Given a string, containing several sentences, such as:

 'I played piano. John played football. Anita went home. Are you safe?'

output all the matched sentences that begin and end with vowels:

 {'I played piano.' 'Anita went home.' 'Are you safe?'} 

Only accept AEIOU/aeiou as vowels.

Problem Group

Solution Statistics

48 correct solutions 66 incorrect solutions
Last solution submitted on Sep 27, 2015

Problem Comments

Solution Comments