I currently have a website that is specific to the academic / university area, and as such, I only want people with a .ac.uk email address to be able to register.
I currently have a script in place to check that a valid email address is submitted in the correct format ie email@example.com
or .com etc etc.
I am having trouble trying to create a validation check to make sure that ONLY email addresses ending in .ac.uk (firstname.lastname@example.org) are accepted ... everything else such as .co.uk .com etc would get declined.
Any help would be greatly appreciated!