Filter FILTER_SANITIZE_EMAIL December 27, 2011 Pramod T P Leave a comment Remove all illegal email characters Example ====== <?php echo filter_var(“info()@phpcodez.com”, FILTER_SANITIZE_EMAIL); ?> Output ===== info@phpcodez.com