title: PHP using DOM to extract img src, and keep its place within text
body: <p>So I'm building a simple HTML <strong>scraper</strong>, in the text there are some images for the symbols and what I need is to get the src of this img tags, but keep them in the same place as the img tags where in the text.</p>
  <p>--question rewritten due to me being asking the wrong thing.</p>