Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-26-2015, 04:31 AM   #1
unabatedshagie
Enthusiast
unabatedshagie began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jan 2014
Device: Kindle Paperwhite 2
Help with a regex for renaming a book

I have my book titles named a particular way so they display in the correct order when I view them on my Kindle.

#01 | {book title}

Where 01 is the number of series/sub series.

I've got the following:
  1. Search field: series_index
  2. Search for: ^(\d{1,2}).0$
  3. Replace with: #0 |
  4. Destination field: title

Now I'm not 100% sure how I'd get the group from the search and insert it in the replace. I don't even know if it's possible.
unabatedshagie is offline   Reply With Quote
Old 06-26-2015, 04:43 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by unabatedshagie View Post
I have my book titles named a particular way so they display in the correct order when I view them on my Kindle.

#01 | {book title}

Where 01 is the number of series/sub series.

I've got the following:
  1. Search field: series_index
  2. Search for: ^(\d{1,2}).0$
  3. Replace with: #0 |
  4. Destination field: title

Now I'm not 100% sure how I'd get the group from the search and insert it in the replace. I don't even know if it's possible.
Don't muck with the Library names, use the metadata Plugboard to add {series_index} | to the title
theducks is offline   Reply With Quote
Advert
Reply

Tags
regex


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add book regex help macnab69 Conversion 2 06-16-2013 01:00 AM
Regex: File Renaming Pre-Import & Importing penguinaka Library Management 20 08-14-2012 06:11 PM
Book File Renaming (the Ultimate) penguinaka General Discussions 0 08-02-2011 04:35 PM
renaming a book during conversion RAH Calibre 8 10-29-2010 07:07 AM
Renaming a Book ? - Sony 505 vally Sony Reader 7 02-07-2009 08:27 PM


All times are GMT -4. The time now is 01:37 AM.


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