Page 1 of 1

Replacing colon with a dash in episode titles

Posted: 21 Dec 2021, 16:37
by penguinopph
Hi all, I want to set FileBot up to automatically replace colons with dashes in my episode titles, but I can't quite figure it out. I found this post giving the code, but I can't figure out how to integrate it into the rest of my code, which is simply
{n}.{s00e00}.{t}
Where does the
.replaceAll(/[:|]/, " - ")
code fit into the rest?

Thank you.

Re: Replacing colon with a dash in episode titles

Posted: 21 Dec 2021, 16:50
by rednoah
e.g.

Code: Select all

{ n.colon(' - ') }.{ s00e00 }.{ t.colon(' - ') }

Re: Replacing colon with a dash in episode titles

Posted: 21 Dec 2021, 16:54
by penguinopph
rednoah wrote: 21 Dec 2021, 16:50 e.g.

Code: Select all

{ n.colon(' - ') }.{ s00e00 }.{ t.colon(' - ') }
Wow, that was super simple. Thank you!

Re: Replacing colon with a dash in episode titles

Posted: 29 Jan 2022, 08:10
by rednoah