Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?:BE)?\s*?[0-1]?((\d[. ]*){9})$
/
gm
Test String
New
BE 0123.321.123 BE0123.321.123 BE0123 321 123 1123.321.123 123.321.123 123321123 BE1233221221 BE123322122 BE 0123..... 321 122 BE 01 23 32 11 23 aae233432233 23343