Can anyone give me a regular expression to turn the following filename "Zero.Dark.Thirty.2012.720p.BrRip.x264.BOKUTOX.YIFY.mp4" into "Zero Dark Thirty (2012)-720p.mp4" 201[0-9] matches the year How do I match the title before the year, and ignore everything after the ".720p"? John Driezen