How can we remove dollar sign ($) and all comma(,) from same string? Would it be better to avoid regex?
String liveprice = \"$123,456.78\";
I think that you could use regex. For example:
"19.823.567,10 kr".replace(/\D/g, '')