Regular Expressions 101

Community Patterns

Email Extract All Email Addresses from a Block of Text

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