3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "ignac8e+to:to@example.com"; list($login, $domain) = explode("@", $str); echo preg_replace("[\W|_]", "", $login);
based on PQkP4
Output for 4.3.0 - 7.2.0
ignac8etoto