Change Timestamp as per filename pattern, error

Advanced Renamer forum
#1 : 11/07-13 08:52
arwul
arwul
Posts: 89


11/07-13 08:52
#2 : 16/07-13 21:27
Kim Jensen
Kim Jensen
Administrator
Posts: 799
Reply to #1:
I'm sorry. Your links don't seem to work.


16/07-13 21:27
#3 : 23/07-13 10:18
arwul
arwul
Posts: 89
Reply to #2:
Sorry for the delay.


Change timestamp based on Filename pattern

Say the filename reads as follows:

Screencapture-01-31-12-1980-23072013.jpg
Screencapture-02-31-12-1970 23072013.jpg

Advanced renamer will stumble over the wrong date/dateformat as it starts to see the 01 and 02 as a part of the date.

I donot know how I can exclude the preceding text and trailing date.

Thanks
=


23/07-13 10:18
#4 : 31/07-13 09:52
Kim Jensen
Kim Jensen
Administrator
Posts: 799
Reply to #3:
Try to use this pattern in the timestamp method:
\d\d-<Day>-<Month>-<Year>

It uses regular expressions to "ignore" the first two numbers.


31/07-13 09:52