I find myself using iedit https://github.com/victorhge/iedit for many basic refactorings these days. It's powerful, and works in every language!