removing dates in random locations of filename

Advanced Renamer forum
#1 : 26/04-21 23:55
Shaun
Shaun
Posts: 2
eml.21.04.24.meeting.at.5pm

i have a pile of photos and docs with this format and i want to just remove the dates from the and leave just

eml.meeting.at.5pm

i think his is done with expressions, but im no programmer and very lost

any help would be great

Shaun


26/04-21 23:55
#2 : 27/04-21 01:11
David Lee
David Lee
Posts: 678
You can use the regular expression "\d\d\.\d\d\.\d\d" to match and remove dates in the format: "yy.mm.dd".

Depending upon where in the filename the date string is situated you will be left with an unwanted dot either at the beginning or the end or else a double dot somewhere in the middle.

So use a List replace method with three lines...

1) Replace: \d\d\.\d\d\.\d\d with: nothing
2) Replace: (^\.)|(\.$) with nothing
3) Replace \.\. with .


27/04-21 01:11 - edited 27/04-21 19:58