Regular Expressions 101

Email finder

Open Workspace
  • Java
  • Match
1

Regular Expression

"
(?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