<?php $str = "ignac8e+to:to@example.com"; list($login, $domain) = explode("@", $str); echo preg_replace("[\W|_]", "", $login);
You have javascript disabled. You will not be able to edit any code.