A have a string that contains one ore more number. The numbers are normally integers, but also decimal could be expected at some point. I looking for a solution that adds the thousand separator(. or ,) to all numbers inside the string.
For example
- 100000 -> ?100,000?
- ?100000?50000 -> ?100,000?50,000
- X10000.5? -> X100,00.5?
Any idea?