I'm using Regex to grab a few prices from a HTML page. I have working strings for both £ and $ but as soon as I change it for Euros and place the currency symbol at the end of the regex string it doesn't seem to work.
Here's my code: preg_match('/([0-9]+[\.]*[0-9]*)\€/', $totalprice, $value);
Yet $value returns an empty array.
Thanks!