View Single Post
Old 08-11-2019, 09:39 AM   #3
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: 31,119
Karma: 60406498
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 yamusing View Post
I've got books with titles for example "publisher1 - book title", "publisher2 - book title", "publisher3 - book title" etc. already imported into calibre. How would I go about using the Search and Replace function to search for all the characters before the "-" and then move them over to the publisher field?
I do this in 2 steps: 1) copies to new home. 2) removes from original home
Bulk mode S&R both use the same REGEX search

search Title:
(.+?)\s-\s(.+?)

1)
Replace Publisher:
\1

2)
Replace Title:
\2
theducks is online now   Reply With Quote