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\d:){2}\d\d,\d\d\d| --> )+(?=(?:$\n.+)+chemical)
/
gm
Input 1
1
New
"1 00:01:46,356 --> 00:01:49,893 What is this? It's blue. 2 00:01:50,794 --> 00:01:54,998 We used a different chemical process, but it is every bit as pure. 3 00:01:55,199 --> 00:01:58,267 It may be blue, but it's the bomb."
Substitution
"1 00:01:46,356 --> 00:01:49,893 What is this? It's blue. 2 00:01:50,794 --> 00:01:54,998 We used a different chemical process, but it is every bit as pure. 3 00:01:55,199 --> 00:01:58,267 It may be blue, but it's the bomb."