Can't rename files with certain non-aplhanumeric characters

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Can't rename files with certain non-aplhanumeric characters

Postby notbananas » Thu Sep 01, 2016 11:14 pm

Apparently file names containing certain non-alphanumeric characters are not able to be bulk renamed. I have about 35 files with all the same format, dates contained between square brackets. Another set with leading ampersand and dates contained within square brackets.

I want to eliminate the square brackets and the ampersands and add a hyphen between the date and the item name with a single space before and after the hyphen.

Example:

from: [1980] Chicago
to: 1980 - Chicago

from: @[2016] Today
to: 2016 - Today

Any ideas?
notbananas
 
Posts: 1
Joined: Thu Sep 01, 2016 10:59 pm

Re: Can't rename files with certain non-aplhanumeric characters

Postby therube » Fri Sep 02, 2016 12:58 am

1.RegEx

Code: Select all
Match:  ^(@?\[)(.*)(])(.*)
Replace:  \2 -\4
therube
 
Posts: 317
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support