3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_try_author = 'author@democracynow.org (author)'; $_try_author = trim(preg_replace('#[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}#i', '', $_try_author)); echo $_try_author;
based on pDA6C
Output for 4.3.0 - 7.1.0
(author)