June 18, 2011 at 10:20 am #72584
Hi jlau, I guess you are meaning “how to validate such an email address”.
Basically you may have a regular expression to do this in PHP, and maybe following code will work for you:
echo "Yeah, you have an ac.uk email address!";
echo "Oops, your email address is not valid or is not an ac.uk email address!";