![]() |
#31 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#32 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
How about posting exactly what you are using.
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 12176
Join Date: Jan 2016
Device: NookHD
|
|
![]() |
![]() |
![]() |
#34 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
^(\[(?P<series>[^0-9\-]+) (?P<series_index>[0-9.]+)\]) (?P<title>.+) - (?P<author>[^_]+) Code:
[The Iron Fey 01] The Iron King - Julie Kagawa.epub You need to add a ebook type to the end of the title to get the test to work. bernie |
|
![]() |
![]() |
![]() |
#35 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Custom Regular Expressions for adding book information | bigbot3 | Calibre | 1 | 12-25-2010 06:28 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 05:19 AM |
Regular Expression For Adding Books | jhart711 | Calibre | 3 | 09-27-2010 06:51 AM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 10:45 PM |