Quote:
Originally Posted by Leedie
Hi!
Can you tell if it's possible to use the Mass Search/Replace plugin to Search&Replace the body of books' text?
Such as replacing "labour" with "labor" across all books in a library. Or, as another example, I read a lot of books from Chinese sources and there are multiple technically correct translations of the same character's name, I would like to make all books spell it the same way.
I already replaced all I need in metadata, but I'm having trouble doing it in the books' text itself.
I can do that with Calibre's native Search&Replace, but it works one book at a time and I might need tens or hundreds of books edited at once, so doing it that way would be pretty time-consuming.
|
Editor Chains plugin can do to search&replace inside an epub/azw3 book. Used in conjunction with
Action Chains plugin, you can perform search&replace on multiple books on your calibre library. Refer to the docs of the plugins.
Edit:
Attached to this post is a chain that replaces labour/labor on selected books in your library. You can modify the search as you like, or add additional search/replace as follows:
- Make sure you have both plugins installed: Action Chains and Editor Chains.
- In your calibre library go to : Action Chains > Add/modify chains > right click on table > import chain > import the attached zip file.
- Now you should have chain called "Search & Replace epubs". You can modify the chain to add more actions if you want.
- Once you are done, you will have a menu entry under "Action Chains" icon for your newly created chain. You can use it to search/replace selected books in your library.