Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

r"
(?P<name>.+?)[^a-z]?s\D?(?P<s>\d+).?e(?P<e>\d+).?(?P<q>.*)\.(?P<ext>.+)
"
gmi

Description

#Episodes Files this pattern split the series episodes files to extract data

Submitted by anonymous - 3 years ago