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

Created by AMITAVA BISWAS

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

47 correct solutions 66 incorrect solutions
Last solution submitted on Jul 02, 2015

Problem Comments

Solution Comments