I'm using regex to parse a website in perl. The content of the site look like this:
(much text) </div> <div class="euroPrice"> <span>1.23</span>
(much text) </div> <div class="euroPrice"> <span>2.34</span> (much text)
with (much text) beeing standard html. I would like to get the numbers 1.23 and 2.34, but I have to use regex. Any hints?
I tried something like this:
class="euroPrice"> <span>([\d\.]+)
But that only gave me the first one.