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

40 correct solutions 61 incorrect solutions
Last solution submitted on Mar 01, 2015

Problem Comments

Solution Comments