title: extract first image and removed the first image from string
body: <p>I have a string that has both text and images but i would like to remove the first image only using php.</p>
  
  <pre><code>$string = 'This is my test &lt;img src="link_to_image1"&gt;, some other text.
  &lt;img src="link_to_another_image" border="0"&gt;';
  $str = preg_replace('/\&lt;img src=\"[aA-zZ0-9\/\_\.]+\"\&gt;/','',$string, 1);
  </code></pre>