To replace dates of the format yyyy-mm-d
with the format yyyy-mm-dd
use the following find expression:
^(....-..-)(.)$
And the following replace expression:
\10\2
The \1
and \2
backreference the first and second search groups (capture groups).
This operation will replace 1985-04-2
with 1985-04-02
.