Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
-----Message d'origine-----[\s\S]*?(?:\r?\n){2}
"
gm
Input 1
New
Something above -----Message d'origine----- De : Myself <myself@himself.com> Envoyé : vendredi 8 mars 2019 14:30 À : Someone <someone@himself.com> Cc : AnotherGuy <another@himself.com> Objet : My bad I forgot how to do it Hi, blabla
Substitution
Something above -----Message d'origine----- De : Myself <myself@himself.com> Envoyé : vendredi 8 mars 2019 14:30 À : Someone <someone@himself.com> Cc : AnotherGuy <another@himself.com> Objet : My bad I forgot how to do it Hi, blabla