Hello,
I decided to put this request under feature suggestions as I think it could be useful for others and because I didn't find a satisfying workaround.
In the preferences for the file scanner exists the table "Find and replace". Currently, as I understood, this table replaces strings/characters in the file name before PDV it uses in the regular expressions and compares it to the various fields like origtitle, title, ecc.
A common problem is that the original title may contain special characters like '?', ':' etc., characters which are not allowed in filenames. Currently using the "Find and Replace" one must find a particular replace character for every not allowed special character. E.g. '?'<-'@' and ':'<-'%' to replace these in filenames with the corrisponding special character in the original title. E.g. "Wo is Fred@.mkv" becomes "Who is Fred?" ecc. This is a bit tedious and creates particular strange filenames. Unfortunately the presence of those special characters inside the various fields like origtitle, eptitle ecc. doesn't allow circumventing them in the usual regular expressions in the file scanner dialog.
If the table mentioned above allowed both directions of replacing we could replace special characters, e.g., in original title (obviously only in memory and not in the field itself) before comparing it to the filename. This way one could define a set of special characters which would be replaced with ONE other character or better with nothing. It would avoid curious filenames and a n->1 mapping of a replace string in a useful direction. E.g. (\?|:) would be replaced with "" (nothing). In the example above "Who is Fred?" would become "Who is Fred.mkv". I think a more elegant solution for a cumbersome problem.
If I missed something or one has a nice solution for the special character problem in original titles please tell me.
Thanks