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
/
^(?:[0-9]+\n|\n)(([0-9:,]+)([\s->]+)([0-9:,]+))$
/
gm
Input 1
1
New
1 00:00:04,019 --> 00:00:07,299 - cdcdc - cddcd 2 00:00:07,414 --> 00:00:09,155 54564 00:00:09,276 --> 00:00:11,429 - 445454 - ccd - cdscdcdcd 00:00:11,549 --> 00:00:14,874 line1 line2
Extraction
1 00:00:04,019 --> 00:00:07,299 - cdcdc - cddcd 2 00:00:07,414 --> 00:00:09,155 54564 00:00:09,276 --> 00:00:11,429 - 445454 - ccd - cdscdcdcd 00:00:11,549 --> 00:00:14,874 line1 line2