Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^(?![^a-zA-Z0-9])(?:(?![.]{2,})[a-zA-Z0-9_\-.])+(?<![.])@(?:(?![^a-zA-Z0-9])(?:[a-zA-Z0-9_\-])+(?<![^a-zA-Z0-9])\.)+[a-zA-Z]{2,}$
"
gm

Description

email google/microsoft like

Submitted by Maxime Paris - 3 years ago (Last modified 3 years ago)