06-24-2016, 03:40 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kobo Glo
|
Rename and sort
First, sorry about my bad English.
In my Calibre Collection i have many books in these format king.stephen.-.the.stand this information is completely in the title section. I want the following format Title section: The Stand Author: Stephen King How can i do this? Thx 4 help |
06-24-2016, 10:22 AM | #2 | |
Well trained by Cats
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There are periods in the title. FUN (dot is a wildcard in REGEX and must be escaped)
First OFF. this BULK MODE EDIT Search and Replace My REGEX pattern only works for your books that are Exactly the same as shown VERIFY in the TEST results before committing (and Keep a backup) Learn REGEX Basics, it will serve you well There are a couple of good REGEX tutorials (Pablo and Manichean) Quote:
Search field Title: Search for (.+)\.(.+)\.-\.(.+) Replace with \2 \1 << flips the order with a space Apply Function (on right) Titlecase Destination field Author You need a different pattern set for Author with Initials, Generations or Titles Once the Author FIELD is done, we need to clean the title Same Search field and term Destination field is Title Replace With \3 <everything past the .-. Why not take care of the Case at this using the SAME as above? From here on, The Title cleanup requires unique solutions |
|
Advert | |
|
06-28-2016, 01:57 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kobo Glo
|
Hello Theducks,
great, thank you very much. It Works. The only Think is, the surname of the author is not in capital letter. by the way. I am happy. Thx. |
06-28-2016, 01:57 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kobo Glo
|
Oh, i got the complete solution.
The Option Function to replace set on the last option. Last edited by frankenfrank; 06-28-2016 at 02:08 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
'Title Sort' & 'Author Sort' Search/Report | Funkybassman | Calibre | 3 | 04-17-2016 12:31 PM |
Update 'title sort' and 'author sort' through CLI | wladdy | Library Management | 1 | 07-16-2015 05:12 PM |
Manual Sort or Sort by custom column | Dethmaul | Marvin | 2 | 04-28-2014 11:54 AM |
How Do I Rename Files? | cassieking | Library Management | 10 | 04-17-2014 01:35 AM |
Any way to rename bookmarks? | kilofox | Amazon Kindle | 3 | 12-09-2009 07:53 PM |