Welcome, mojibake.
My files are named like this: title_source.mkv
I tried a few things to ignore anything beyond the _ with no luck.
(?i)^.*\\(?P<title>.*)_.*\..* should work. '.' means any character, and '\' makes the following special character literal—so this statement says "match any number of any character between '\' and '_' as
Title, followed by any number of any character and any extension."
Note the regex statements are applied only until a match is found. It would be easy to suggest you could use this and delete all the rest, but you may want/need other patterns to be matched. Regex are meant to handle different patterns (and, normally, a movie has a different pattern than an episode of a series). So there are multiple regex statements in the default configuration for matching different common patterns. That much is straightforward, but it's also important to remember that more than one statement can match a pattern. It's therefore important to remember the statements should be put in an order whereby the "correct" one is applied first.
I also tried to use the find replace function finding all "-" which works fine but I can't specify what to replace it with so all the titles become biggerthanlife_dvd etc.
There seems to be a bug (
nostra, are you listening?) in the configuration dialog that renders the "Replace with" column inaccessible. A workaround is to edit
pvdconfig.ini directly. Data in the [FileScanner] section is tab-delimited, so it's necessary to use an editor like
Notepad++ that can show tab symbols.