Another example, this works but breaks for files that do not have a series such as "bob smith - another title.txt". Also, how can I grab the series index as well?
(?P<author>.+) - (?P<series>.+)? - (?P<title>[^_]+)
Last edited by genright; 06-12-2011 at 09:09 AM.
|