replace last underscore _

Bulk Rename Utility How-To's

replace last underscore _

Postby dpelan » Tue Nov 17, 2020 7:51 pm

I know this must be simple and appreciate any help provided.
I have a number of files that end in _??? and want to replace the _ with a period. I'm using Replace(3)
BRU will replace the first occurrence but not the last one that I want. complex_hierarchy.kicad_pcb
BRU doesn't recognize the desired change in this example electric.kicad_pro

Thanks,

Darrell
dpelan
 
Posts: 1
Joined: Tue Nov 17, 2020 7:43 pm

Re: replace underscore _

Postby Admin » Wed Nov 18, 2020 1:13 am

Enable option

File/Folder Extensions > Rename File Extensions as Being Part of the File Name

With this option selected, the file name extensions will be ignored and your renaming operations will always affect the entire file name. Use this option with great care, as Windows relies on the file name extension to decide what to do with a file.

Then

Repalace: \last\_
With: .
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To