Home
Tester
Reference
About
Pattern
^(?(")(".+?(?<!\\)"@)|(([0-9a-z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-z])@)) (?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-z][-\w]*[0-9a-z]*\.)+[a-z0-9][\-a-z0-9]{0,22}[a-z0-9]))$
Input
mail@gmail.com
mail@gmail.com
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
1
match found in about
2
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
$2
$3
$4
$5
$6
$7
$8
$9
0
0
mail@gmail.com
empty string
mail@
mail
l
3 captures
a
i
l
empty string
empty string
empty string
gmail.com
gmail.
mail@gmail.com
empty string
mail@
mail
l
gmail.com
gmail.
empty string