Search found 2 matches

by wolfkin
2017-10-12 20:56:22
Forum: Ant Renamer > Help
Topic: Using Lookbehind to remove some information at EOF name
Replies: 1
Views: 1896

Using Lookbehind to remove some information at EOF name

https://regex101.com/r/IgsZfH/3 This is what I have so far. SampleFileNames: SampleFileA-[SortCode].xls SampleFileB-[SortCode][CRCNum].xls SampleFileC-[SortCode][OtherSortCode][CRCNum].xls SampleFileD-Date[CRCNum].xls SampleFileE-Date.xls In this example I only want to remove [CRCNum] from the file ...
by wolfkin
2016-02-13 20:01:27
Forum: Ant Renamer > Help
Topic: trimming the end of a file
Replies: 1
Views: 2680

trimming the end of a file

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 Find: \[\w+].(jpg|png|gif|bmp)$ Replace: .$1 but I'm not sure how to make it work for folde...