Page 1 of 1

Replace string with string-1

Posted: Mon Jul 19, 2010 5:24 pm
by textpadquestion
Hi, I haven't been able to find the answer to my question in one of the existing topics....

I have the following data

T02
T03
T05
T09

And I'd like to use a regular expression find and replace to turn it into

T01
T02
T04
T08

Is this possible?

Posted: Mon Jul 19, 2010 8:18 pm
by woho
As far as I know RegExpr are not capable of calculating.
Probably your 4 examples are not all the numbers you'd like to replace.
If there are not too many other numbers you could record a macro replacing each of the numbers starting with the lowest.
02 with 01 then
03 with 02 asf

Regards
Wolfgang