Page 1 of 1

Replacing colon with fullstops tv show names (24)

Posted: 13 Oct 2013, 13:29
by wimwamspam
Hey everyone, I've spent a while trying to get this to work but to no avail and tried searching.

I currently use

{n} {s00e00} {t} [{vf}]
I am trying to rename the tv show "24" and since in their title they have times e.g

24 S07E09 Day 7 4:00 P.M.-5:00 P.M. [720p]

I am wanting to replace all colons with fullstops so it would look like

24 S07E09 Day 7 4.00 P.M.-5.00 P.M. [720p]

And is it possible to remove "Day 7"?

Thanks.

Re: Replacing colon with fullstops tv show names (24)

Posted: 13 Oct 2013, 15:04
by rednoah
Easy:

Code: Select all

{t.replace(':', '.').replaceAll(/^Day [0-9]/)}

Re: Replacing colon with fullstops tv show names (24)

Posted: 13 Oct 2013, 17:37
by wimwamspam
Thanks a lot, that works perfectly. :)