As I was working through a freelance project, I had a need to do some renaming. I remembered seeing a renamer script on Chad Vernon's website in his Python for Maya Artists page.
I pulled that up, and began deconstructing it so that I could adapt it to my needs.
The following script came through after an hour or so. A renamer class with a UI which helped me to explore a few concepts of OOP and testing some functionality of UI creation.
Thanks for the initial inspiration Chad!