[thelist] Email Validator
Shoshannah Forbes
xslf at xslf.com
Thu Dec 6 02:27:10 CST 2001
> From: Chris Spruck <cspruck at mindspring.com>
> Subject: Re: [thelist] Email Validator
> <OE34jnzi95HfqR77bie0001c9e2@hotmail.com>
> <003c01c17dac$0bba7320$d255a8c0@ws.pu.ru>
> Reply-To: thelist at lists.evolt.org
> In the above expression, you could make the dot optional by following it
> with a question mark like this:
>
> \.?[A-Za-z0-9]+$/
>
> The question mark there means ONLY a single dot is allowed, but the dot is
> optional. Change the ? to an asterisk (\.*[A-Za-z0-9]+$) and it becomes
> "ANY number of dots are allowed, but they are optional". Thus the ? will
> prevent the validation from passing whatever at whatever..com.
I wonder what it will do with email addresses like
firstname.lastname at someplace.com ? I have seen quite a bit valid email
addresses in that format.
Regards,
Shoshannah Forbes
More information about the thelist
mailing list