trimming the end of a file
Posted: 2016-02-13 20:01:27
I would like to trim the end of a file name.
So for instance:
20160526[Raw].jpg
20160527[Raw].jpg
20160528[Scan].jpg
20160529[Scan].jpg
20160530[Complete].jpg
20160531[Complete].jpg
This is what I have so far
but I'm not sure how to make it work for folders like
EastofEden[Scan]
So for instance:
20160526[Raw].jpg
20160527[Raw].jpg
20160528[Scan].jpg
20160529[Scan].jpg
20160530[Complete].jpg
20160531[Complete].jpg
This is what I have so far
Code: Select all
Find: \[\w+].(jpg|png|gif|bmp)$
Replace: .$1
EastofEden[Scan]