I'm trying to convert this text: $ 12,345.67 USD into 12.345,67. So, remove everything but digits and comma/period but reverse comma/period.
I currently have this:
=SUBSTITUTE(REGEXREPLACE(B222;"[^\d\.]+";);".";",")
This removes the text and the period, and then substitutes the comma with a period. The issue us that it leaves me with 12345,67 without the period and I'd like to see if I can get the right format for the number, even though it works as is.