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
/
(?<=\d\n)(?:.*\n)*?.*(?=\n\n|$)
/
g
Input 1
1
New
1 Matt 00:00:00,100 --> 00:00:01,500 This is said by Matt. 2 Lucas 00:00:01,700 --> 00:00:02,300 While this is said by Lucas
Substitution
1 Matt 00:00:00,100 --> 00:00:01,500 This is said by Matt. 2 Lucas 00:00:01,700 --> 00:00:02,300 While this is said by Lucas