I don't know much about regular expressions, but I have one that is working properly:
preg_match_all('!<span class="a-size-large a-color-price olpOfferPrice a-text-bold">(.*?)<\/span>!', $result, $match);
Properly matches to:
<span class="a-size-large a-color-price olpOfferPrice a-text-bold"> $9.00 </span>
And yet I just created another expression:
preg_match_all('!<span class="a-size-medium olpCondition a-text-bold">(.*?)<\/span>!', $result, $match);
That is based on the last one, and it doesn't match the following data:
<span class="a-size-medium olpCondition a-text-bold">
Used
- Very Good
</span>
Any idea why?