So, I know this sounds a bit odd, but basically here is my HTML example:
$400 + free shipping</title>
<link>https://www.dealnews.com/Samsung-50-4-K-HDR-LED-Smart-TV-for-400-free-shipping/17336849.html?iref=rss-dealnews-editors-choice</link>
<description><img src='http://c.dlnws.com/image/upload/f_auto,t_large,q_auto/content/vdiy8a75wg8v7bo92dhq'
I only want to capture the URL of items that have a dollar sign way before it e.g. everthing after $.... than (URL) At the moment my regex is this:
img src='([^']+)'.*
This grabs EVERY img src, however I would only like images like I said before that have the "$" sign before it, essentially I don't want any images that aren't to do with a product on this HTML page.