This is more of a "What regex do I use" rather than a semantics question.
I have the following string :
moneyString = "¥10,100 YEN,€100.00 EU,$100.00 US"
And I need to split it on the comma. However, I don't want the comma in the 10,000 Yen to be separated into two arrays.
Currently, if I do moneyString.split(',')
I get : [¥10, 100 YEN, €100.00 EU, $100.00 US] as the different array values. But I want :
[¥10100 YEN, €100.00 EU, $100.00 US]
Can someone show me how to get this regex correct? I'm sorry, but I am a complete newbie with this stuff.