Regular Expressions 101

Library entries

Movies title extractor

Vote

1

Regular Expression
pcre

/
^(?!\d\d?[ex]\d\d?)(?:\[(?:[-\w\s]+)*\] )?(.*?)[-_. ]?(?:[\{\(\[]?(?:dvdrip|[-._\b]ita|[-._\b]eng|xvid| cd\d|dvdscr|\w{1,5}rip|divx|\d+p|\d{4}).*?)?\.([\w]{2,3})$
/
img

Description

Loading markdown...
Submitted by dshinigami - 7 years ago