3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_try_author = 'author@democracynow.org (author-two)'; preg_match('#[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}#i', $_try_author, $matches); var_dump($matches);
based on M3eBu
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(23) "author@democracynow.org" }