I'm a huge fan of visual-regexp-replace. I've written crazy regexps that would be impossible without its feedback.