How do I make a match in a string to very first occurence of a character in a multi line file for example if i have
$3.95 (html tags) $2.95
(html tags) (html tags) Red door
(html tags)
I want to just extract
$2.95
(html tags) (html tags)
Red door
So i want it to stop at the previous $
, i tried something like \$[\s\S]*Red door
, however that goes too far back, some asked for more specifics..
So here is a page on amazon, I want to pull out just the section sold and shipped by amazon: http://www.amazon.com/gp/offer-listing/B00XR5HRBU/ref=dp_olp_new?ie=UTF8&condition=new, I can easily go to alt="Amazon.com and then back up to the first $ which would do this.