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

  • 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

39 correct solutions 58 incorrect solutions
Last solution submitted on Jan 20, 2015

Problem Comments

Solution Comments