Regular Expressions 101

Community Patterns

Community Library Entry

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 - 2 years ago