Remove first instance of a hyphen - in filename

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

Remove first instance of a hyphen - in filename

Postby eclipsedj » Thu Dec 16, 2010 5:24 pm

I need to remove the first instance of a hyphen in a filename so...

It changes from this...

AB12345 - 01 - Artist - Title.mp3

to this...

AB1234501 - Artist - Title.mp3

I'm assuming it is a regualr expression, but have no idea...HELP PLEASE!!!

Thanks!
eclipsedj
 
Posts: 2
Joined: Tue Dec 14, 2010 11:47 pm

Re: Remove first instance of a hyphen - in filename

Postby radunn » Thu Dec 16, 2010 9:04 pm

I'm new to BRU but was working on a similar issue; instead, I was trying to restructure a file name. What I eventually did was (and I suggest you try this) is create a text file with both the old and new file name(s). i.e. AB12345 - 01 - Artist - Title.mp3 and...AB1234501 - Artist - Title.mp3. Type a pipe symbol between both file names -no space- (each file name on a separate line), save the file as *.txt and import it into BRU at File - import repairs. Go to the folder where files are located in BRU and highlight; you should now see the new/old file name(s)... then click Rename button.

I'm sure RegEx does this but I've not learned it yet.
radunn
 
Posts: 1
Joined: Thu Dec 16, 2010 6:25 pm


Return to BRU Support