Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(?:\[\d+])+$
"
gm
Input 1
New
Sentences can have no index in the end. Or one index.[10] Or there even. Can be. Multiple sentences. And indices.[9][10][11]
Substitution
Sentences can have no index in the end. Or one index.[10] Or there even. Can be. Multiple sentences. And indices.[9][10][11]