Format: Select all
{ 'Episode 1'.replaceAll(/Episode \d/){ it.pad(2) } }
Code: Select all
Episode 01
The String.pad() helper notably works for any number in any String value:
Format: Select all
{ 'Episode 1'.pad(2) }
Format: Select all
{ 'Episode 1'.replaceAll(/Episode \d/){ it.pad(2) } }
Code: Select all
Episode 01
Format: Select all
{ 'Episode 1'.pad(2) }
Format: Select all
{ collection }
Format: Select all
D:/Movies/{ collection }/{ ~plex }
Format: Select all
{vs}-{vf}