Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^(
- (?P<ShowNameA>.*[^ (_.]) # Show name
- [ (_.]+
- ( # Year with possible Season and Episode
- (?P<ShowYearA>\d{4})
- ([ (_.]+S(?P<SeasonA>\d{1,2})E(?P<EpisodeA>\d{1,2}))?
- | # Season and Episode only
- (?<!\d{4}[ (_.])
- S(?P<SeasonB>\d{1,2})E(?P<EpisodeB>\d{1,2})
- | # Alternate format for episode
- (?P<EpisodeC>\d{3})
- )
- |
- # Show name with no other information
- (?P<ShowNameB>.+)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement