Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-07-13 19:42
Flavor·Python

r"
^ (?P<show>[a-zA-Z1-9\.\-]+[^\.]) \.[Ss]?(?P<season>\d{1,2})[EeXx](?P<episode>\d{1,2}) (\.(?P<title>[a-zA-Z1-9\.]+[^\.]))? \.(?P<resolution>\d{3,4}p) \.(?P<quality>[a-zA-Z\-]{1,6}) \.(?P<codec>[a-zA-Z0-9\.]+\d) ([\.\-](?P<team>.+))? $
"
mgx
Open regex in editor

Description

Regex for parsing tv torrent

Submitted by naingenieu