Checking if email is valid

Mats Wichmann mats at wichmann.us
Wed Nov 1 16:12:19 EDT 2023


On 11/1/23 05:35, Simon Connah via Python-list wrote:
> OK. I've been doing some reading and that you should avoid regex to check email addresses. So what I was thinking was something like this:

To be a little more specific, Avoid Rolling Your Own RegEx.  It's very 
tricky, and you will get it subtly wrong.

All depending, as others have said, on what level of "validation" you're 
after.



More information about the Python-list mailing list