[thelist] regex for email addresses

davemiller at prispop.com davemiller at prispop.com
Mon Oct 14 22:15:41 CDT 2002


I have an email address filter for the knuckleheads who don't like to enter
valid addresses to a mailing list.

Now, I'm not a big fan of filters because they need to be updated or
sometimes someone falls through the cracks.  Like .name domains.

Here's the RegEx Pattern, I know nothing about RegEx but I'd like to allow
domains over 3 characters, does anyone know the fix?  (I'm using ASP by the
way)  Thanks!

regEx.Pattern ="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,3}$"






More information about the thelist mailing list