The Ruby Regex Debugger. Put your regex in the top pane, and your match text in the bottom pane. Kang will highlight the match text that matches and show you any match groups you have created down the right hand side.
Gemfile gem 'kang', '~> 0.0.2'
install gem install kang -v 0.0.2