Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
TDJ setlist.vbs trackTitlePattern
Open Workspace
PCRE (Legacy)
Unit Tests
Created 2015-09-29 21:13
1
Regular Expression
/
^
(?:
.
*?
#
[
0
-
9
]
+
)?(
[^
\[
]
+?
)
*
(?:
\[
.
+
)?
$
/
Description
Removes up to and including #n...n and including and beyond [ ' e.g. ...Baby One More Time #1 [0s]
Submitted by
Chris