Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"
Open Workspace
PCRE (Legacy)
Match
Created 2015-02-13 20:58
1
Regular Expression
/
^
>
(?:
.
|
\s
>
)*
<
[
a
-
zA
-
Z0
-
9._%+-
]
+
@
[
a
-
zA
-
Z0
-
9.-
]
+
\.
[
a
-
zA
-
Z
]
{2,4}
>
(?:
.
|
\s
)*?
:
/
gm
Description
Email clients insert the "sender wrote" line to email replies.
Submitted by
Vlad Burca