Page 1 of 1

Replacing/inserting text string based on filename

Posted: Sat Apr 02, 2011 1:24 pm
by Grinderedge
First of all thank your for making such an useful tool and providing it for free.

I'm working with cue/bin files that look like this:

FILE " (T-1)].bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
FILE " (T-2)].bin" BINARY
TRACK 02 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE " (T-3)].bin" BINARY
TRACK 03 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE " (T-4)].bin" BINARY
TRACK 04 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00

I'd like to insert the name of the file between FILE " and (T-. Is that possible with regular expressions? Is there a batch command that could do that job for multiple files?

Thank you in advance for your help

Posted: Thu Apr 14, 2011 8:32 pm
by DV
Sorry- no way to use the filename in the replace expression at the minute.
Something to consider for future versions though. Thanks!