|
|
#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 | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Insert new line with regex | deckoff | Sigil | 6 | 08-08-2010 12:24 PM |
| What a regex is | Worldwalker | Calibre | 20 | 05-10-2010 06:51 AM |
| Checking and Importing from the Command Line | markbond1007 | Calibre | 3 | 08-06-2009 01:46 PM |
| regex Issue when Importing | river | Calibre | 3 | 06-16-2009 12:03 PM |
| Regex help... | Bobthebass | Workshop | 6 | 04-26-2009 04:54 PM |