I need to get these number formats from a string
20000
20 000
20 000 000
20 000,00
20 000.00
2000,000
200000.000
Strings can be
some text 20000
20000 some text
So far I have this
/((\d){1,}[ .,]{1}[0-9]{1,}[ .,]{1}[0-9]{1,})/g
Thank you.
2000,000and what this means.2000,000(not2,000,000) does the comma translate as a period in English?