I think this is an incredibly handy usage of Notepad++'s macro function.  Is that criteria for making it a community wiki post?

https://superuser.com/questions/376288/how-do-i-add-input-to-my-macro-to-replace-text-in-notepad/377642#377642