View Single Post
Old 10-24-2014, 06:19 AM   #1
gill_d
Junior Member
gill_d began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2014
Device: kindle touch
Please help with regular expressions when adding books

I have a number of books with filenames in this style:

austen-jane-1775-1817_mansfield-park.pdf

The 1775-1817 bit is when the author was alive, and I don't care if that gets left out of the metadata entirely. I'm also not concerned with capitalising the author and book title correctly.

Others in this style:

london_jack-the_call_of_the_wild.pdf

Others in this style:

Doyle, Arthur Conan - Adventures of Sherlock Holmes, The.txt

Others in this style:

Grimms Fairy Tales - Adventures of Aladdin.txt

Others in this style:

Lewis, C.S - The Chronicles of Narnia 2 - The Lion, the Witch and the Wardrobe.txt


Firstly, I would be grateful for advice on regular expressions for adding these.

Secondly, am I correct in thinking that there's no regular expression which could import all of these correctly at the same time, and thus I will need to import each file-naming-convention separately?
gill_d is offline   Reply With Quote