Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Egyptian National ID
Open Workspace
JavaScript
Match
Created 2023-05-28 06:02
0
Regular Expression
/
^
(
[
2
-
3
]
{1}
)(
[
0
-
9
]
{2}
)(
0
[
1
-
9
]
|
1
[
012
]
)(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)(
0
[
1
-
4
]
|
[
1
-
2
]
[
1
-
9
]
|
3
[
1
-
5
]
|
88
)
[
0
-
9
]
{3}
(
[
0
-
9
]
{1}
)
[
0
-
9
]
{1}
$
/
Description
This validates the components of the Egyptian national ID ...
See details (Arabic)
Submitted by
Mahmoud Mostafa