Using RegEx with Rules to compare email addresses I have a client content type with an email address and when a user creates an account I want to verify the users email address with the email address of the client content type to make sure that the user is an employee of the client and if so let them create an account.

My question is, can I make a rule which uses Regular expressions to compare the domain name of the two email fields?

Thanks

Kieran
You can use access rules which is built into core drupal. 

Go to "/admin/user/rules" and add a new rule, for example %@domain.com, this will allow anyone to register who has that specific domain.