View Single Post
Old 08-25-2012, 04:11 AM   #1
mattam
Junior Member
mattam began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2012
Device: Kindle
RegEx for title - author - series?

Have tried to convert other Regular Expressions to work when adding books into Calibre, but no luck.

Books in series are like this one: "To The King A Daughter - Andre Norton & Sasha Miller - Oak, Yew, Ash & Rowan 01.mobi".

Books without a series are like this: "Between the Dark - Algis Budrys.mobi".

Any ideas as to how to make series optional at the end of the string? Each time I try moving pieces of another RegEx around -- e.g. kiwidude's sample in QuickRef plug-in -- it only works for books with a series, but for those not in a series.

Have tried the Python Regular Expression documents, but don't seem to be able to find a solution.

Any help appreciated!
mattam is offline   Reply With Quote