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 07-05-2010, 09:39 PM   #1
TheEldest
Junior Member
TheEldest began at the beginning.
 
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
TheEldest is offline   Reply With Quote
Old 07-05-2011, 10:18 PM   #2
TheEldest
Junior Member
TheEldest began at the beginning.
 
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!
TheEldest 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
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


All times are GMT -4. The time now is 03:14 AM.


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