MJ Ray wrote:
I was pondering either Edit: Replace: Replace Regexp or using replace-rectangle a few times.
I was trying to find a good regex for replacement but I'm not sure if the recursion is possible?
The following should match them: (.(\d{3}))+,(\d{2}) .. but I'd have no idea how to replace them. Alternatively, replace .(\d{3}) with ,\1 replace ,(\d{2}[^\d]) with .\1