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
/
(?P<day>0[1-9]|[12]\d|3[01])(?P<seperator>[\/-])(?P<month>0[1-9]|1[012])(?P=seperator)(?P<year>\d\d\d\d)
/
gm
Input 1
1
New
12/02/2134 00/02/2134 01/02/2134 31-12-2134 31-12/2134
Substitution
12/02/2134 00/02/2134 01/02/2134 31-12-2134 31-12/2134