01-18-2016, 07:32 PM | #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. |
01-18-2016, 08:29 PM | #32 |
Grand Sorcerer
Posts: 12,426
Karma: 74317824
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
How about posting exactly what you are using.
|
Advert | |
|
01-18-2016, 09:50 PM | #33 |
Junior Member
Posts: 2
Karma: 12176
Join Date: Jan 2016
Device: NookHD
|
|
01-18-2016, 10:43 PM | #34 | |
Wizard
Posts: 2,100
Karma: 8796704
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 |
|
01-19-2016, 01:03 PM | #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 | |
|
|
Similar Threads | ||||
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 |