Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?:[A-Z1-9]*0+[A-Z1-9]|([A-Z0-9]{10})$)
/
gm
Input 1
1
New
ABC1000000 3212130000 0000000000 ABC1000100 0001000000
Substitution