Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2020, 08:47 AM   #1
barthazor
Junior Member
barthazor began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2020
Device: PocketBook Touch Lux 4
Regular Expression For Adding Books

Hi All,
I am trying to work out an expression for adding epub ebooks into Calibre.

I am using this code for files in this format Author - Series - Title.

(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?

But is doesn't work when the series is missing.

Ken Follett - Kingsbridge - 1. A katedralis.epub

Title: 1. A katedralis
Author: Ken Follett
Series: Kingsbridge
Series Index:

Can someone please help?

Barthazor
barthazor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regular Expression in Adding Books jeffersonm Library Management 4 03-26-2020 08:26 AM
Adding books using Regular Expression! leomleite Calibre 2 11-02-2014 05:51 PM
Adding books, Regular expression help please Shadewing Library Management 13 04-04-2012 05:31 AM
Adding Books, regular expression smarties86 Calibre 4 12-19-2010 08:18 AM
Regular Expression For Adding Books jhart711 Calibre 3 09-27-2010 06:51 AM


All times are GMT -4. The time now is 04:07 PM.


MobileRead.com is a privately owned, operated and funded community.