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
/
XXX_[^\n#]*#(\d+)$
/
gm
Input 1
1
New
XXX_YYY XXX_YYY#12235 XXX_YYY#12281 XXX_YYY#12318
Extraction
XXX_YYY XXX_YYY#12235 XXX_YYY#12281 XXX_YYY#12318