Reformatting Date String?

Advanced Renamer forum
#1 : 13/07-19 17:41
newoski
newoski
Posts: 4
What would be the best way or reformatting dates from foo_DDMMYYYY_foo_foo.ext to foo_YYYYMMDD_foo_foo.ext?

Thanks!!


13/07-19 17:41
#2 : 14/07-19 08:28
David Lee
David Lee
Posts: 1125
Replace method using Regular Expression...
Replace: _\K(\d{2})(\d{2})(\d{4})
with: \3\2\1


14/07-19 08:28