<?php $row = (object)['introtext' => '<div>test</div><img src="source1"><p>text</p><img src="source2"><br>']; $dom = new DOMDocument(); $dom->loadHTML($row->introtext); echo $dom->getElementsByTagName('img')->item(0)->getAttribute('src');
You have javascript disabled. You will not be able to edit any code.