Title |
Test
Find
Block common public domains & validate email
|
Expression |
\w+([-+.]\w+)*@(?!(hotmail|gmail|yahoo|msn|excite|lycos|aol|live)\.com$)\w+([-.]\w+)*\.\w+([-.]\w+)* |
Description |
Should you need to validate that an email address is correctly formmatted and need to block hotmail and gmail, this expression will do it for you. Thanks to Sergei Z from regexadvice.com |
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Dan Brewerton
|
Source |
http://regexadvice.com/forums/47737/ShowThread.aspx |
Your Rating |
|
Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 10/29/2008 11:08:44 AM
Comment:
Why are you ignoring the standards for email addresses?