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
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