![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
Sending selection from Search & Replace to different fields?
Hi all,
I have a bunch of books that have "<Series> <series#> - " prepended to the title filed. I've been looking at the S&R Meta panel and I'm not sure how to send my captures to two different fields: series & series_index (which I'm guessing is the number in the metadata dialog). Here's what I have: ![]() Is it possible to send these values to proper fields? Thanks! |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,339
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
For series and series index, if you put the series index in the series field inside brackets, calibre will set the series index as well as the series. Slightly modifying your example, try:
Source field: title Search for: ^(.*?) (\d+)( -.*) Replace with: \1 [\2] Destination field: series You will need to remove the information from the title using a second pass. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vers 7 CMD-V does not work into the search and replace fields | GregTheGrate | Sigil | 25 | 04-22-2013 12:54 PM |
Help with a search & replace | mmholt | Library Management | 11 | 10-21-2011 06:49 PM |
Search & Replace :help: | krussell | Calibre | 3 | 08-02-2011 04:45 PM |
Edit MultiData Search and Replace to multiple fields | Doug-W | Library Management | 1 | 02-22-2011 03:17 PM |
Search & Replace | Pat Nickholds | Sigil | 2 | 10-21-2010 11:18 PM |