Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-06-30 04:28
Flavor·ECMAScript (JavaScript)

/
(^|\b)([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})
/
gm
Open regex in editor

Description

The following regex will extract email addresses from a document.

Sample: This is the email: m23oeo_doc@gmail.com and this is john.doe@outlook.com also can use "," master1@yahoo.com, master2@yahoo.es etc. micro.so@aol.com.

Submitted by anonymous