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
Gregorian Date pattern.
Open Workspace
PCRE2 (PHP)
Match
Created 2023-10-31 09:13
1
Regular Expression
/
^
(
(?=
3
[
0
-
1
]
|
[
0
-
2
]
\d
)
\d\d
)
\.
(
(?=
1
[
0
-
2
]
|
0
[
1
-
9
]
)
\d\d
)
\.
\d
{4}
/
gm
Description
Matches Gregorian Date Pattern Completed Challenge from Codewars
Submitted by
Dashrath Sharma