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
/
^[A-Za-z][A-Za-z0-9][0-9]{7}$
/
gm
Input 1
ab1234567 AB1234567 a12345678 AB12345678 aB123456 abc123456 abcdefghi 1b2345678
Extraction
ab1234567 AB1234567 a12345678 AB12345678 aB123456 abc123456 abcdefghi 1b2345678