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?
|