View Single Post
Old 07-28-2013, 03:01 PM   #1
dempan
Junior Member
dempan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: pdf reader
Extract MetaData from difficult file names

oh gosh i am very bad in regex and here i have i very big quest. may somebody has a solution.


[author: last name, first name(s)] [optional more authors: [; first name last name] or and [(et al.)]] [optional editor version: [(ed.)] [optional year: [(XXXX)] after that, all the time [ - ] [title] [optional edition [(2nd ed) or (3rd ed.) ...or ... (7th ed.) [extension: [. [pdf] or [epub] or [mobi] or [doc] or [docx] or [lit] ...

example 1: Heidegger, Martin (1930) - Essence of Human Freedom.doc

or

example 2: Hofmann, Stefan G.; Patricia M. DiBartolo (ed.)(2010) - Social Anxiety. Clinical, Developmental, and Social Perspectives (2nd ed.).pdf

or

example 3: Hick, Darren Hudson; Craig Derksen (et al.) - Righteous Art Anger.epub

looks hardcore. thanks in advance.
dempan is offline   Reply With Quote