This Regex below works well for all currencies when testing on a Regex test page.
Although when in my page, it just works for the $ currency.
I changed the MetaTag for different caracter sets, no luck.
What could be wrong?
if (preg_match_all('([£€$¥]([ 0-9]([ 0-9,])*)(\.\d{2})?|([0-9]([0-9,]))(\.\d{2})?([pcm]|bn| [mb]illion))', $tout, $matches))
I want to extract any amount following (with ou without a space) any of the 4 Currencies signs.