Here's a tricky one for all you experts! (Of which I am most certainly not one )
How can I rename a file such as:
02-Accompagnato (Tenor). Comfort ye my people.flac
so it becomes simply
02-Comfort ye my people.flac
i.e. remove all characters up to and including the space after the dot, but leave the first 3 characters (the track number) intact?
And another one:
How to rename e.g.
15-Thou, Merab, first in birth (Recit. Saul, Merab) - My soul rejects (Air. Merab) - See, with what a scornful air - Ah, lovely youth (Air. Michal).flac
to be
15-Thou, Merab, first in birth - My soul rejects - See, with what a scornful air - Ah, lovely youth.flac
i.e. remove all brackets and their contents, and leave only one space either side of the hyphen?
Possibly I'm asking the impossible, but many thanks in advance anyway!!
Sorry, but just one more question regarding my second query: is there an expression which will work however many sets of brackets there are, wherever they occur in the filename? e.g. one that will work for, e.g.:
13-Birth and fortune I despise (Air. David).flac
as well as
15-Thou, Merab, first in birth (Recit. Saul, Merab) - My soul rejects (Air. Merab) - See, with what a scornful air - Ah, lovely youth (Air. Michal).flac
This might be possible ...
Set Filter: %_FILENAME% MATCHES "\s(.+?)(\s|$)"
Action "Format Value"
Field: _FILENAME
Formatstring: $trim($regexp(%_FILENAME%' ','(\s(.+?)\s)',' '))