I haven't quite figured out how to search & replace while retaining a portion of the search string.
I want to search a vertical block and replace any occurrence of a string containing, (a colon, any digit, a colon) with (a colon, the digit zero, the same digit as "any digit", a colon).
In other words:
find a text string such as ":2:" and replace it with ":02:"
Using Reg-Exp:
I am searching with :[0-9]:
I am replacing with :0\1:
The search string works OK but the replacement is replacing ":2:" with ":0:" instead of ":02:"
|
|