Copy information from the current file name into the destination file name:
e.g. match 720p / 1080p / etc patterns from the current file name: 1080p
Format: Select all
{ fn.match(/[0-9]{3,4}p/) }
Format: Select all
{ fn.match(/.[0-9]{3,4}p.+/) }
Format: Select all
{ '.' + f.path.match(/PROPER|REPACK/) }
Format: Select all
{ fn.match(/\[.*\]/) }
String.matchAll() can be used to match multiple values:
Format: Select all
{ fn.matchAll(/CBR|DS4K|MULTi|MULTiSUBS|PROPER|REMUX|REPACK|RM4K|VBR/) }
String.before() and String.after() can be used to match text before or after the given regex pattern:
Format: Select all
{ fn.after(/S[0-9]+E[0-9]+/) }
You can use f.path instead of fn if you want to match information from the entire file path and not just the file name.