replace - with depending on surrounding characters

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

replace - with depending on surrounding characters

Postby FLAMINGTOAST13 » Thu Dec 04, 2014 9:05 pm

I need to make a rename, and I'm planning on having the parameters as follows:

5600350084-03_Auflage-Schnittgestell-Oberteil

which I need to rename as:

5600350084-03_Auflage_Schnittgestell_Oberteil

I cannot simply rename all "-" to "_", but I could set it to rename all "-" that have any letter in front and behind to "_" and leave "-" alone

I believe this involves regular expressions, however I am unfamiliar with them.

Any help would be appreciated
FLAMINGTOAST13
 
Posts: 1
Joined: Thu Dec 04, 2014 5:50 pm

Return to BRC Support