View Single Post
Old 11-07-2015, 07:30 PM   #1
anonymust
Book Reader
anonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavensanonymust is a rising star in the heavens
 
anonymust's Avatar
 
Posts: 43
Karma: 13674
Join Date: Aug 2015
Location: Earth
Device: Pocketbook *** (Touch HD 3)
Question Adding Books RegExp date/year)

Im having a hard time getting the regular expressions right for Adding Books> Configure metadate from file name

Im basically trying to get this to work
Code:
(?P<author>[^_]+) - (?P<title>.+) [(?P<published>)]

Sample for an input file would be:

AuthorsName - TitleBook [yearNumber].epub

another:
Bill Gates - Using Windows 10 [2015].epub

yearnumber being a 4 digit field.

** please take note that the year is between two square brackets.
anonymust is offline   Reply With Quote