Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-18-2016, 08:32 PM   #31
VyckyeSea
Junior Member
VyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of light
 
Posts: 2
Karma: 12176
Join Date: Jan 2016
Device: NookHD
Too complicated for Me

So I've tried piecing together the information y'all have been posting for my files which are named like so:

[The Iron Fey 01] The Iron King - Julie Kagawa

I can get everything but the series number. Every time I try it gives me an invalid string message. Any ideas? Thanks.
VyckyeSea is offline   Reply With Quote
Advert
Old 01-18-2016, 09:29 PM   #32
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,167
Karma: 59959303
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Glo HD, Touch, Tolino EPOS
How about posting exactly what you are using.
PeterT is offline   Reply With Quote
Old 01-18-2016, 10:50 PM   #33
VyckyeSea
Junior Member
VyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of lightVyckyeSea is a glorious beacon of light
 
Posts: 2
Karma: 12176
Join Date: Jan 2016
Device: NookHD
Quote:
Originally Posted by PeterT View Post
How about posting exactly what you are using.
This is what I've figured out so far.

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

I know I need all these parts, but something is missing.
VyckyeSea is offline   Reply With Quote
Old 01-18-2016, 11:43 PM   #34
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 1,319
Karma: 5400084
Join Date: Jun 2010
Device: Windows 10 tablet,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by VyckyeSea View Post
This is what I've figured out so far.

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

I know I need all these parts, but something is missing.
Using this
Code:
^(\[(?P<series>[^0-9\-]+) (?P<series_index>[0-9.]+)\]) (?P<title>.+) - (?P<author>[^_]+)
with this tile
Code:
[The Iron Fey 01] The Iron King - Julie Kagawa.epub
works for me.

You need to add a ebook type to the end of the title to get the test to work.

bernie
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	106
Size:	53.4 KB
ID:	145654  
gbm is offline   Reply With Quote
Old 01-19-2016, 02:03 PM   #35
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
VyckyeSea,
Your posted RegEx and sample book are working for me, provided I add an ebook file type extension (*.epub, *.lit, *.mobi, etc) within the test field for Preferences/Adding Books.
Sabardeyn is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regular Expression Help Azhad Calibre 86 09-27-2011 03:37 PM
Custom Regular Expressions for adding book information bigbot3 Calibre 1 12-25-2010 07:28 PM
Regular Expression Help smartmart Calibre 5 10-17-2010 06:19 AM
Regular Expression For Adding Books jhart711 Calibre 3 09-27-2010 07:51 AM
Help with the regular expression Dysonco Calibre 9 03-22-2010 11:45 PM


All times are GMT -4. The time now is 10:00 PM.


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