Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(.{6}\.\d{2})\d]
/
gm
Input 1
1
New
[00:12.161]Hey, that shark has pretty teeth, dear [00:18.822]And he shows 'em, pearly white [00:24.680]Just a jack knife has MacHeath, dear [00:31.34]And he keeps it way out of sight [00:37.45]When that shark bites with his teeth, dear [00:43.83]Scarlet billows they begin to spread [00:49.966]Fancy white gloves has MacHeath, dear [00:56.359]So there's never, never a trace of red
Substitution
$1]