Replacing image source in HTML image tag, and excludes certain images
<p>I have the following code</p>

<pre><code>$body = preg_replace('/&lt;img(.*?)src="(.+)"/Ui','&lt;img src="renderImage.php?image=\\2&amp;width=&lt;?=$img_width?&gt;&amp;url=&lt;?=$mobiURL?&gt;"',$body);
</code></pre>

<p>$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.</p>

<p>Is there any way to do this</p>
