/usr/local/bin/pcretest
pcretest was written as a test program for the PCRE regular expression library itself, but it can also be used for experimenting with regular expressions.