Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
Python

r"
^[\w\d](\.?[\w\d_-])*@[\w\d]+\.([\w]{1,6}\.)?[\w]{2,6}$
"
g

Description

Full email validation with optional "." "-" "_"

Submitted by Jakub Stasiak - 9 years ago