I think it would be better if used DOMDocument object:
$text = '<html><body><p>ala bala</p><img src="/images/mylondon.jpg" /></body></html>';
$htmlDom = new DOMDocument;
$htmlDom->loadHTML($text);
$imageTags = $htmlDom->getElementsByTagName('img');
$extractedImages = array();
foreach($imageTags as $imageTag){
$extractedImages[] = $imageTag->getAttribute('src');
}
echo '<pre>'; var_dump($extractedImages); exit;