Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
^(.*?)(?:\(.*\))END$
"
gm
Input 1
1
New
START OF THE SHOW with some gibberish characters (I) also lots of non-sense things (II) with boring end ()END START OF THE SHOW with some gibberish characters () also lots of non-sense things () with boring end ()END START OF THE SHOW with some gibberish characters (I) also lots of non-sense things (II) with boring end (III)END START OF THE SHOW with some gibberish characters (1) also lots of non-sense things (2) with boring end (3)END START OF THE SHOW with some gibberish characters (111) also lots of non-sense things (222) with boring end (333)END
Substitution