Regular Expressions 101

Community Patterns

Email finder

1

Regular Expression
Java 8

"
(?im)^(?<c1>\"?)\w+(?:[\W&&[^@]]?)\w+\k<c1>@(?:\[?(?:\d{3}\.?){0,4}\]?|(?:[\w&&[^\d]]+[\.\-]?)*(?<=\.\w{2,6}))$
"
g

Description

Matches with the valid email addresses.

Submitted by anonymous - a year ago