View Single Post
Old 01-26-2025, 06:24 AM   #47
Charley
Junior Member
Charley began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2025
Device: Kobo
Quote:
Originally Posted by Leedie View Post
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:
  1. Make sure you have both plugins installed: Action Chains and Editor Chains.
  2. In your calibre library go to : Action Chains > Add/modify chains > right click on table > import chain > import the attached zip file.
  3. Now you should have chain called "Search & Replace epubs". You can modify the chain to add more actions if you want.
  4. 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.
This is exactly what I needed, thank you so much!

Especially big thank you for including the labour/labor chain file, the example really helped me understand how to use the plugin. Going through documentation is hard for me, I'm not confident I'd manage to do set things up without help. Thank you for taking the time to do it.



Thank you for the response anyway, your plugin is great![/QUOTE]

Quote:
Originally Posted by un_pogaz View Post
Yes.
You need to use the "Regular expression" mode and this config
search: (.+)
replace: [\1

In Regular expression it posible to search a text and to work around without delete them. See this pages of the manual about regular expressions "All about regular expressions in calibre" and "Quick reference for regexp syntax".

Thanks, works perfect...
Charley is offline   Reply With Quote