[thelist] regex for email addresses

Beau Hartshorne beau at members.evolt.org
Tue Oct 15 00:08:01 CDT 2002

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

See that last bit in the brackets? Try changing that to (2,4) from

The new pattern should be:

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


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

More information about the thelist mailing list