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
/
(\(some text\)\n|\(some test\)\n|(\[abc\]))|(^$\n)
/
gm
Input 1
1
New
Title: (some text) My Title [abc] Content: (some test) My long content paragraph. With multiple sentences. [abc] Short Content: (some text) Short content [abc]
Substitution