how can i extract the text from this html snippet...
<span id='amount'>£86,950</span></div>
<p class="bedrooms">2 bed mews house for sale</p>
<h2 class="address">
<a href="...31073581.html?showcase=true&premiumA=true">Wilson Street,city 123
</a></h2>
i want to extract
£86950
2 bed mews house for sale
Wilson Street,city 123
im using regexbuddy and i can extract value $pound567849
(via £.*\d
)
i can extract value of next tag via <p calss.*>.*</p>
(cant use them both together..dont know how to)
but i dont know how to combine two expressions to get there values collectively...can anybody help plz (sadly new to regex and extracting things)