title: Find and replace Img tag in a string via php?
body: <p>Find and replace Img tag in a string via php ?</p>
  
  <pre><code>$source = "&lt;img src='source.jpg'&gt;";
  $dest = '&lt;div id="pf1" class="pf w0 h0" data-page-no="1"&gt;
  &lt;div class="pc pc1 w0 h0"&gt;
    &lt;img class="bi x0 y0 w0 h0" alt="" src="../images/cover.jpg"/&gt;
  &lt;/div&gt;';
  </code></pre>
  
  <p>I want to replace that <code>$source</code> image in <code>$dest</code> image ..</p>