View Single Post
Old 06-21-2026, 08:00 PM   #51
GalacticHull
Connoisseur
GalacticHull began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Nov 2014
Device: kobo elipsa 2e
Quote:
Originally Posted by un_pogaz View Post
You can do such complex operation by adding a Search/Replace operation that use Template.
The calibre template language is a calibre-specific language used throughout calibre for tasks such as specifying file paths, formatting values, and computing the value of columns. The template language is very powerfull and I recomand you to take a look on the Calibre manual to better understand and use it.

So in your case:
  1. After add a new operation, select the source field {template} and select the output field of your choice. Note that output field will be completly replaced by the value generated by the template.
  2. Fill the row "Template" with the following:
    Code:
    {tags:re(/,\,)}, {tags}
    or
    Code:
    program: re($tags, '/', ',') & ', ' & $tags
You can open a more complete template editor by clicking on the icon button.
Okay. This is very helpful. Thank you
GalacticHull is offline   Reply With Quote