Setting up regular expressions in code can sometimes be a pain. Maybe you want to test that your regex is correct before decorating it to meet your language’s needs. Well, there is a useful tool that I’ve used that does just that – http://regexpal.com/
RegexPal is a browser-based regular-expression tester. Type in some sample text, a regex, and watch the matches highlight.