I'm fairly new to regex, I can write expressions to do most simple file renaming jobs now but this one has me stuck.
I'm just trying to change the deliminator in a bunch of filenames from " -" to " - ", some examples:
"Author Name -Series 00 -Title.txt" needs to become:
"Author Name - Series 00 - Title.txt"
"Author_Name -[Series 01] -Title -Genre.txt" needs to become:
"Author_Name - [Series 01] - Title - Genre.txt"
The expression needs to be able to cope with 1, 2 or 3 " -" deliminators, and must ignore all other hyphens, for example "-" "- " and existing " - " should all be ignored. For example:
"File_Name1 - Sometext- more-info (V1.0).txt" Should not be changed at all.
It's for use in File Renamer, which is in Python.