Community Patterns

Community Library Entry

1

Regular Expression
Created·2023-03-27 23:58
Flavor·Java

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

Description

Matches with the valid email addresses.

Submitted by anonymous