I have variables that contain amounts and would like to remove the (US) thousand separators but also have to cover the scenario that there may be non-US formatted amounts wh
Replace /,(?=\d*[\.,])/g with empty string?
/,(?=\d*[\.,])/g
http://regexr.com/39v2m