- var_dump: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$pattern = '# \w*?[aeiou]{2}\w*? #';
$string = "There's a moose loose this house";
$matches = array();
preg_match_all($pattern, $string, $matches);
var_dump($matches[0]);