elseif(!preg_match("/^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/",$email)) { echo "Neteisingas emailo rasymas, nepamirskite @ !"; }