Online Regex Tester (Perl, PHP, JavaScript)

()

This form allows you to test regular expressions in Perl, PHP and JavaScript. The form returns the text with all hits highlighted. PHP always finds all matches while Perl or JavaScript consider the existence of the greedy modifier or its absence respectively. The Perl and PHP scripts are full Unicode capable.

Take care: if you are on Windows and hit the line break server-side (Perl, PHP), then you will get two matches because \n on Windows is \r\n on Unix!

Language
words, ≈ characters