Grab all infor prior to the @domain for validation:
if (preg_match("/@email.com/i", $Email)){ $string1 = $Email; $needle = "@"; $result_string = substr("$string1",0,strpos($string1,$needle)); }