Email Id Verification

John Nagle nagle at animats.com
Thu May 24 13:45:27 EDT 2012


On 5/24/2012 5:32 AM, niks wrote:
> Hello everyone..
> I am new to asp.net...
> I want to use Regular Expression validator in Email id verification..
> Can anyone tell me how to use this and what is the meaning of
> this
> \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

    Not a Python question.

    It matches anything that looks like a mail user name followed by
an @ followed by anything that looks more or less like a domain name.
The domain name must contain at least one ".", and cannot end with
a ".", which is not strictly correct but usually works.

				John Nagle



More information about the Python-list mailing list