I aint much use at the regular expressions, can somebody help me with this one?
Here is the string
<p class="the-price"><div id="result13">[B]€2333.10[/B]</div><div id="showMessage13" class="mqstyle">Searching</div></p> <p class="gbox"><!--<a href="#"><span>Arrange<br> Cover</span></a>--></p>
I want to extract the piece in bold. The number of the div id’s will change, so need it to work in all situations.
When I use this
s = s.replace(/[^\\d\\.]/g,'');
It gives me all the numbers.
Any help would be very much appreciated.
Thanks in advance.