Custom Regular ExpressionsΒΆ

By default TV Renamr will match shows in the formats:

  • show.s0e00
  • show.0x00

However you can specify custom regular expressions if your files aren’t in either of these formats. Some custom regular expression syntax has been used to help you specify different parts of the filename:

  • Show: %n - (?P<show>[\w\s.,_-]+)
  • Season: %s - (?P<season>[\d]{1,2})
  • Episode: %e - (?P<episode>[\d]{2})

It is also possible to specify how many digits there are in the season and episode sections of the filename using the syntax:

  • Season: %s{n}
  • Episode: %e{n}

where the n in {n} specifies how many digits are in each of the sections.

Note

All spaces are converted to periods before your regular expression is run.

Python regular expression syntax can be found here.

Read the Docs v: 3.3.2
Versions
latest
3.4.0
3.3.3
3.3.2
3.3.1
3.3
3.2.1
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.2.7
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.