2012-02-16, 17:48
I'm lost in finding the right regex to clean my file names to get a valid title for scraping. Most of my video files look like this:
\\NAS\share\Video\12-02-01 Rain Man (ARD HD (AC3)).mpg
I need to remove the date at the beginning of the file name and everything within the parentheses and tried all sorts of regular expressions but nothing was successful. So I would be grateful if somebody could show me how to do it correctly.
Sem
\\NAS\share\Video\12-02-01 Rain Man (ARD HD (AC3)).mpg
I need to remove the date at the beginning of the file name and everything within the parentheses and tried all sorts of regular expressions but nothing was successful. So I would be grateful if somebody could show me how to do it correctly.
Sem