Sorry if this is an obvious question but I've read the FAQ and searched and can't figure this out.
I'm trying to parse tags from filenames / directory hierarchies. Some of the files have the format
and some have
%track% - %title%
or other variation of whitespace / no whitespace or even underscores instead of hyphens.
How can I write a Format string that will work for all variations? I'm a software engineer by trade, and I'm not stupid, but the FAQ does not explain how to use $replace scripts at all. It needs some concrete examples.