This Flash-based tool allows you to test regex (regular expressions) online.
Archive of posts tagged regular expression
The preg_match() function will perform a Perl-compatible regular expression pattern match. Sometimes you will want to match a backslash, but it’s not as straightforward as you might first think!