I am looking for an action that will remove from filenames any character(s) other than dash, underscore, letters and numbers. Does anyone have an example or a solution to this besides creating a replace action for each character that is to be omitted?
My goal is to have one action that (after tagging all mp3's correctly) will remove all unsupported characters from the filename, then put the filename in the format of artist-album-track-title.extension in lowercase and with underscores instead of spaces. So far, I've all the actions for this except one to remove unsupported characters.
I'm actually cleaning the filename after it is generated from the tags. As far as I know, the validate function only removes these characters: /?*"<>|.
I'm trying to make something that will keep a character if it is a letter, number, underscore or dash. If it is not, it will remove it.
Hmm... Well, it can be done with RegEx (dano knows more about RegEx than me), but are you sure you want that? It would also change "That's_it" into "Thats_it".
You cannot mix the different action types.
Things like \w are only available at Replace with regular expressions
You can make an action Replace with regular expressions, but it will also remove the dot before the file extension, you will need a 2nd action to put it back: