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
/
.+Exception sending email[\S\s]+?(?=\d{4}(-\d\d){2})
/
gm
Input 1
1
New
2019-03-13 00:33:44,846 [INFO] -: foo 2019-03-13 00:33:45,096 [INFO] -: Exception sending email To: [foo@bar.com, bar@bar.com] CC: [baz@bar.com] Subject: some subject Body: some body 2019-03-13 00:33:45,190 [INFO] -: bar