On regxr.com you can find a online regex tester. The match of your regex is automatically refreshed and you can also use substitutions.
http://regexr.com/