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

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 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

38 correct solutions 55 incorrect solutions
Last solution submitted on Oct 09, 2014

Problem Comments

Solution Comments