I have the following code
$body = preg_replace('/<img(.*?)src="(.+)"/Ui','<img src="renderImage.php?image=\\2&width=<?=$img_width?>&url=<?=$mobiURL?>"',$body);
$body contains a whole html page that contains img tags, the above code works perfectly, but I need to exclude images with the string maps.google in it so that it does not get replaced.
Is there any way to do this