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
/
(¶[\S\s]*?¶)
/
gm
Input 1
1
New
This is good text, and should be kept 977 00:36:46,805 --> 00:36:50,874 ¶ This is complete junk And this is also junk, on a second line¶ This is good, and I want to keep it. ¶Garbage on its own line¶ This is good Good sentence ¶but rubbish inline¶ and this is good Good ¶ Trash Rubbish ¶ Good
Substitution