<?php $word = 'umweltfreundilch'; //real life example :/ preg_match('/^(?U)(.*[aeiouyäöü][^aeiouyäöü])(.*)$/Xu', $word, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.