Here is a part from my html string.
<span class="price">£ 343</span>
// Some html code
<span class="price" id="old-price-22898">£ 343</span>
</p><p class="special-price">
<span class="price" id="product-price-22898"> £ 274</span>
What I want is to get all the prices.
So I tried this regexp :
<span class=\"price\"(.*)>(.*)<\/span>
which makes sense to me, but I only get the price between <span class="price">
and not the prices between the <span>
with ids.
Any help ?