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
/
\b(?:(d)|(D))(?:(a)|(A))(?:(t)|(T))(?:(e)|(E))\b
/
gm
Input 1
1
New
This Date is a DATE that is daTe and date. But dated should not be replaced, and nor should sedate.
Substitution
This Date is a DATE that is daTe and date. But dated should not be replaced, and nor should sedate.