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
r"
(?xi)^( (DE)?[0-9]{9}|)$
"
gm
Input 1
1
New
ATU99999999 BE0999999999 BG999999999 HR12345678901 CY99999999L CZ12345678 DK99999999 EE123456789 FI99999999 FRXX999999999 DE999999999 EL123456789 HU12345678 IE1S23456L IE1234567T IE1234567TW IE1234567FA ESA12345678 ESZ1234567E DE813992525
Extraction