From 310d2fc6a6969b97cd4eacfa4cadc384ac8ce682 Mon Sep 17 00:00:00 2001
From: Reinhard Pointner E:/Complete/{n} ({y}){'/Season '+s}/{s+'x'}{e.pad(2)} - {t}
Rename and move files. The directory structure is completely up to you.
- {n.replaceTrailingBraces()} - {s+'x'}{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´]/, "'").lowerTrail().replacePart(', Part $1')}
My personal favorite. Pretty much 1x01, but with lots of cleanup operations.
+ {n.replaceTrailingBrackets()} - {s+'x'}{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´]/, "'").lowerTrail().replacePart(', Part $1')}
My personal favorite. Pretty much 1x01, but with lots of cleanup operations.
after(pattern)
Get the substring after the given pattern or the original value.
- replaceTrailingBraces(replacement = "")
Replace trailing parenthesis including any leading whitespace (e.g. "The IT Crowd (UK)" -> "The IT Crowd").
+ replaceTrailingBrackets(replacement = "")
Replace trailing parenthesis including any leading whitespace (e.g. "The IT Crowd (UK)" -> "The IT Crowd").
replacePart(replacement = "")
Replace part identifier (e.g. "Today Is the Day (1)" -> "Today Is the Day, Part 1").