Thread: Series in Title
View Single Post
Old 05-25-2011, 02:14 AM   #4
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by Feanor View Post
Inputting series_name [index] in the search for field
Leaving replace with blank
Choosing Destination Field = series
This won't work for several reasons:
  1. You'll need to input a regular expression into the search field. While, of course, the string you gave is a regular expression, it doesn't do what you think it does- that would imply Calibre understanding the semantics of what the fields contain, which it doesn't. I'll try to work out an example later, I don't have the time now, but for the moment, as a hint: You'll want to use backreferences and use the dashes as delimiting characters.
  2. Replacing with a blank text effectively deletes the information from the field. This is what you want to do for the second pass. In the first pass, you'll want to fill the series field with some information. See backreferences above
Manichean is offline   Reply With Quote