Regular Expressions 101

Community Patterns

Exclude free emails

0

Regular Expression
Python

r"
\b[\w\.-]+@((?!gmail|yahoo|hotmail).)[\w\.-]+\.\w{2,7}\b
"
gmi

Description

no description available

Submitted by anonymous - 7 years ago