Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?P<email_address>[\w\.-]+@[\w\.-]+\.[\w]+)
"
gm

Description

Use this to extract all email addresses from a block of text.

Submitted by QuickRegEx - 3 years ago