I wondered the same thing and heard of some text editor offering to set up a list for its usual "Find and replace" operation what gives you a similar result like the code replacement. As I remember Edit Pad Pro has such a feature but I hadn't had the time to check it (but it would be deffinitely useful for my work as well).