To adapt an old source code within eclipse it will be very convenient to do a search and replace keeping one character of the original text and replacing it with a new text with the character in another position.
For example, find all the texts:
Text1sample, Text2sample, Text3sample
Ant replace them with:
newtext1ok, newtext2ok, newtext3ok.
I suspect that this is possible with Regular expressions, but being a total novice with them, I can find all the original texts but I cannot perform correctly the replacement. Anybody can help me, please?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)