Sep 30th, 2010, 4:28 AM
I have been asked if it is possible for me to validate an e-mail address field so that it is required to be of the form:
[SOMETHING]@owu.edu
Up until now, it has been sufficient for me to use a valid_email requirement to ensure that the field is of the form:
[SOMETHING]@SOMETHING.SOMETHING
My question is...how would I go about checking for the former instead of the latter?
I'm sure it's relatively simple...I just don't know enough about RegEx or programming in general to make it work.
Thanks in advance for any help you can provide,
Doug Thompson
Manager of Web and Electronic Communications
Ohio Wesleyan University
[SOMETHING]@owu.edu
Up until now, it has been sufficient for me to use a valid_email requirement to ensure that the field is of the form:
[SOMETHING]@SOMETHING.SOMETHING
My question is...how would I go about checking for the former instead of the latter?
I'm sure it's relatively simple...I just don't know enough about RegEx or programming in general to make it work.
Thanks in advance for any help you can provide,
Doug Thompson
Manager of Web and Electronic Communications
Ohio Wesleyan University