<?php $email = "mail@example.com"; if (filter_var($email, FILTER_VALIDATE_EMAIL)) { echo '"' . $email . '" = Valid'; } else { echo '"' . $email . '" = Invalid'; } ?>
You have javascript disabled. You will not be able to edit any code.