Regular Expressions 101

Sponsors

Library entries

TV Show

Vote

1

Regular Expression
python

"
^ (?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

Description

Loading markdown...
Submitted by naingenieu - 6 years ago