Joined March 2019
·

fedeb

This won't work if you have decimals in your input string (4 or more).
This works instead: (\d)(?=(\d{3})+(?=\,)(?!\d))
If your decimal input has '.' instead of ',', just replace that character int the provided regex.
However thanks for your solution since was necessary for firther developing my use case

Achievements
1 Karma
0 Total ProTip Views