addon to edit templates?

steven s

Well-known member
Using vB I was able to make a simple plugin that would find and replace text in a template.
The nice thing is I normally would not have to revert templates when updating.

Is there a tutorial how to make an addon that would do the same thing?