I think this is an incredibly handy usage of Notepad++'s macro function. Is that criteria for making it a community wiki post?
How do I add "input" to my macro, to replace text in Notepad++?How do I add "input" to my macro, to replace text in Notepad++?