Regular Expressions 101

Community Patterns

E-mail

0

Regular Expression
Python

r"
[a-zA-Z][a-zA-Z0-9-.]+@[a-zA-Z-]+\.(com|edu|net)
"
gm

Description

Think about first letter and the later parts are some specific symbol ( .-).

Submitted by anonymous - 6 years ago