How to include file suffix in rename criteria

Bulk Rename Utility How-To's

How to include file suffix in rename criteria

Postby mariomichetti » Fri Aug 08, 2025 9:59 pm

Hi,

How can I include the file suffix as part of the search/replace criteria to target only the last occurence next to the filetype. Ex:

Filename: fjk SSL djfiej SSL fijisjd SSL.wav
Find: " SSL.wav"
Replace with: ".wav" (removes only the last SSL)
Result: fjk SSL djfiej SSL fijisjd.wav

Regards,

Mario
mariomichetti
 
Posts: 2
Joined: Fri Jul 11, 2025 1:48 am

Rename last ocuurence by file-extension

Postby Luuk » Sat Aug 09, 2025 12:47 am

Easy way:
Activate a Filters(12) "Mask" like "* SSL.wav"
Then with Remove(5), just use "Last n" == 4

Another way:
With RegEx(1) having the 'Inc.Ext.' checkmark, use a "Match" and "Replace" something like...
(.+) SSL.wav$
\1
Luuk
 
Posts: 834
Joined: Fri Feb 21, 2020 10:58 pm

Re: How to include file suffix in rename criteria

Postby mariomichetti » Mon Aug 11, 2025 8:10 pm

Thanks
mariomichetti
 
Posts: 2
Joined: Fri Jul 11, 2025 1:48 am


Return to How-To