Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 3 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 4 days ago
1

extract url

PCRE2 (PHP >=7.3)
extract url
Submitted by anonymous - 17 days ago

TV/Movie

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<Fname>.*\.)(S(?<se>\d{1,2})E(?<ep>\d{2,3}).*|(?<season>S\d{1,2}-S\d{2,3}).*|(?<yr>\d{4}[^p]).*)
/
g

Description

Loading markdown...
Submitted by TheMorgue - 5 months ago
(Last modified 5 months ago)