- preg_match_all: documentation ( source)
<?php
$pattern= '# \w*?[aeiou]{2}\w*? #';
$string = "There’s a lion loose in the Maister park";
$matches= array();
preg_match_all($pattern, $string, $matches);
foreach($matches as $value)
print($value)
?>