I\'m trying to match the highlighted parts of this string:
You should use a DOM parser for that. Here's an example with DOMDocument :
loadHTML(file_get_contents('yourFileNameHere.html'));
$lst = $document->getElementsByTagName('iframe');
for ($i=0; $i<$lst->length; $i++) {
$iframe= $lst->item($i);
echo $iframe->attributes->getNamedItem('src')->value, '
';
}
?>