Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(N[BFH][AL])(?:.*)(202\d)(?:\WWeek \d+)?\W(?:\W*|(.*)\W)(\d\d).(\d\d)\W(?:PS\W)?(\D*)\W?(?:.*\.)(mkv|mp4)$
/
gmi

Description

Yes. Its a thing.

Submitted by anonymous - 2 years ago