![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
|
Importing RegEx Line
In the event that anyone uses the same system that I do for naming books (or something similar) here is the RegEx code I use for importing:
(?P<author>[^_-]+) - (\((?P<series>[^-]+) - Book (?P<series_index>\d\d?)\) )?(?P<title>[^-]+) My file names are like: Last, First - (Series Name - Book 01) Title of the book.txt |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
|
I know this is totally a zombie thread but I would like to thank myself.
I reloaded win 7 on a new system and didn't want to take the time to put together this RegEx again. Quick google search and here I am. Thank you internet! |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Insert new line with regex | deckoff | Sigil | 6 | 08-08-2010 11:24 AM |
What a regex is | Worldwalker | Calibre | 20 | 05-10-2010 05:51 AM |
Checking and Importing from the Command Line | markbond1007 | Calibre | 3 | 08-06-2009 12:46 PM |
regex Issue when Importing | river | Calibre | 3 | 06-16-2009 11:03 AM |
Regex help... | Bobthebass | Workshop | 6 | 04-26-2009 03:54 PM |