(!preg_match('/^[a-z0-9&\'\.\-_\+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*+[a-z]{2}/is', $email)) hi I got this code from the internet but it seems that there is a flaw. myname@example.c'om escape this match what is the correct code?