Hello. This highly sophisticated tool can be used to test regular expressions in php. Currently, it takes the input text and submits it to preg_match_all then outputs the array of results. Now you can do preg_replace too. It took at least ten minutes to write. Which is good time investment compared to the usual trial and error with regexps.

Regexp:
(Optional) Preg_replace [sexy!]
Haystack
Flag:
Output