Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(.+?)[\.\s](?:(?:(\d{4})[\.\s])(S\d{1,2}(?:E\d{1,2})?)|(?:(\d{4})[\.\s])|(S\d{1,2}(?:E\d{1,2}(?:\-E?\d{1,2})?)?)|(?:720p|1080p))[\.\s]?(.*)[\.\s]
/
gi

Description

no description available

Submitted by anonymous - 9 years ago