Lol at gays. And can you be more specific? You mean via the mail() function? You can do something like. $email = preg_replace('/([\r\n]|b?cc|:)/i', null, $email); PHP: