Remove redundant and trailing blanks from file names

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Remove redundant and trailing blanks from file names

Postby TheEmu » Thu Jun 08, 2017 1:57 pm

A minor but, for me, useful addition would be an option to remove redundant blanks, i.e. to replace multiple blanks with a single blank, and to remove any leading and trailing blanks. The first can currently be done by substituting two blanks with a single blank and, if necessary, repeating this until no more file names contain multiple blanks, but this is far from optimal. I can see no easy way with the current version of BRU to automatically remove leading and trailing blanks and although rare a single trailing blank can be hard to spot and remove manually.
TheEmu
 
Posts: 3
Joined: Thu Jun 08, 2017 1:16 pm

Re: Remove redundant and trailing blanks

Postby therube » Thu Jun 08, 2017 4:33 pm

5:Remove

Trim, Remove leading and trailing spaces
D/S, Remove occurrences of double spaces, and replace them with single spaces
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Remove redundant and trailing blanks

Postby HogCall » Sun Jun 25, 2017 6:20 pm

therube wrote:D/S, Remove occurrences of double spaces, and replace them with single spaces


Cool, I never realized that was there (or maybe it wasn't in 2.7.1.2, as I only just upgraded).
HogCall
 
Posts: 5
Joined: Sun Jun 25, 2017 5:46 pm


Return to Suggestions