"Twisted Sister - Stay Hungry -2016- -FLAC 24-192-"

It sounds like you're looking for a (perhaps for a music file manager, tag editor, or media player) that can intelligently parse and handle messy or inconsistent folder/filename strings like:

Returns: dict: artist, album, year, format, bit_depth, sample_rate, original """ # Remove leading/trailing spaces and separators clean = text.strip(' -_')

Let's Talk