'regex for finding all money values

so im trying to find all possible money values.

i need to find things like

£100bn $100m 30p 100m euro 100bn euros

etc

so far i have

(?:[\£\$\€]?\{1}[,\d]+.?\d*[p|m|(bn)][euros]?)

but i cant seem to get it to work. please help

this currently doesnt find any of the given money values, i have tried regex101.com and i cant seem to get an explanation as to why it wont catch any of the values



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source