Community Patterns

Community Library Entry

1

Regular Expression
Created·2014-10-13 22:00
Flavor·PCRE (Legacy)

/
^(?!\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
Open regex in editor

Description

Extract the title from a movie file

Submitted by dshinigami