Validar Formato de Email en php

function email_check($email)
{
$email_regex = ‘/^(?:[w!#$%&’*+-/=?^{|}~]+.)*[w!#$%&'*+-/=?^{|}~]+@(?:(?:(?:[a-zA-Z0-9_](?:[a-zA-Z0-9_-](?!.)){0,61}[a-zA-Z0-9_]?.)+[a-zA-Z0-9_](?:[a-zA-Z0-9_-](?!$)){0,61}[a-zA-Z0-9_]?)|(?:[(?:(?:[01]?d{1,2}|2[0-4]d|25[0-5]).){3}(?:[01]?d{1,2}|2[0-4]d|25[0-5])]))$/’;
return preg_match($email_regex, $email);
}