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
/
^(?P<seg_a>[0-9]{2,7})-(?P<seg_b>[0-9]{2})-(?P<checksum>[0-9])$
/
gm
Input 1
1
New
10022-31-8 10024-97-2 100-25-4 10025-67-9 7647-01-0 151-21-3 9003-11-6 9005-65-6 506-64-9 563-63-3 7783-90-6 7783-92-8 134842-07-2 202120-08-9 617-12-9 480-22-8
Extraction
10022-31-8 10024-97-2 100-25-4 10025-67-9 7647-01-0 151-21-3 9003-11-6 9005-65-6 506-64-9 563-63-3 7783-90-6 7783-92-8 134842-07-2 202120-08-9 617-12-9 480-22-8