title: sql Extract all img src tags from stored html
body: <p>Ok... this should be fairly straight forward but I cant get my head around the easiest way to do it.  </p>
  
  <p>I want to run a query against my database, to look at 'Description' and pull out any
      &lt;img src="pathtoimage.jpg" /&gt; tags so I can throw them into a separate table...</p>
  
  <p>the logic to me seems that first you find the starting point of the img tag, then the closing tag and take the substring from start to finish... however, I also have &lt;p&gt; tags so I can simply get the index of &lt; and take that as my start because it will pick up the p tags as well... 
  so am I going to have to get index of &lt; then take a substring of say 2 to check if it is a p or img or href or whatever, and then only take substring if it matches img, or is there a much easier way that I am just totally missing??</p>
  
  <p>I guess the other bit I should have mentioned is once I have the img tags in a new table, I also want to save the description without them in it.</p>