View Single Post
Old 04-15-2012, 05:19 AM   #3
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
As long as the filesname follow your example, here's a quick solution.
Code:
\d+-\d+-(?P<author>.+) - (?P<title>.+) \d+
If you want the date as published field you can alter it to
Code:
\d+-\d+-(?P<author>.+) - (?P<title>.+) (?P<published>\d+)
Perkin is offline   Reply With Quote