Restrict registration to email addresses with specific domain?

Is there any way possible to restrict registration to email addresses with a specific domain. I am working on a site for my school, and I only want to allow users with a school email address to register...Im running 1.74

 

Thanks!