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
/
\b5\d{6}(?:\D|$)
/
gm
Input 1
1
New
34324, 5604020, 45309, 45, 55, 5102903 5604020
Extraction
34324, 5604020, 45309, 45, 55, 5102903 5604020