Code: Alles auswählen
<?Php
$mail = "witzigerkiller@aol.com";
if ( preg_match("/[a-z0-9]{3,}+@[a-z0-9]{3,}+.[a-z0-9]{2,}/i"))
{
echo "richtig";
}
?>
Warning: preg_match() expects at least 2 parameters, 1 given in C:\Programme\xampp\htdocs\mail.php on line 5