I have line of 3 long numbers separated by comma. What I want to do is to delete the number in the middle, and leave only first number and last number separated by a comma.
Currently:
123456789123,723456789123456,834567885544334
123456789125,723456789123457,834567885544333
123456789126,723456789123458,834567885544337
Desired result:
123456789123,834567885544334
123456789125,834567885544333
123456789126,834567885544337
I tried doing this, but it didn't work with these regular expressions:
- regular expression to find string:
%[0-9]+,[0-9]+,[0-9]+
- regular expression to replace string:
^1,^2
Which regular expression actually does what I want to achieve?
Note - I'm currently using an application called Ultraedit that runs on Windows 7, if you recommend a better text editing application for Windows that can solve my problem please let me know.