3v4l.org

run code in 300+ PHP versions simultaneously
<?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)); $_try_author = preg_replace('#[<()>\[\]]#','',$_try_author); echo $_try_author;

preferences:
32.11 ms | 402 KiB | 5 Q