Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2025, 04:44 AM   #1
jletallec
Junior Member
jletallec began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2025
Device: Kobo Forma
Having several re() in a backup template

Hello,

I would like to know how to combine these two backup templates:

{author_sort}/{title:re(:, -)} - {authors}
{author_sort}/{title:re(',)} - {outside}

I can't chain the re() : {author_sort}/{title:re(:, -):re(',)} - {authors} returns an error.

If anyone could help me, that would be great! Sorry for any translation errors.
Thanks a lot.
jletallec is offline   Reply With Quote
Old 05-20-2025, 06:22 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Template Program Mode lets you can nest function calls, in your case re().
chaley is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template: saving template tester when restarting Calibre ownedbycats Library Management 14 03-29-2021 05:57 PM
Template: Converting a search & replace into a template ownedbycats Library Management 11 03-26-2021 04:32 AM
Not enough space to export/backup library. How to do partial backup? droopy Calibre 68 02-10-2021 03:00 AM
Using built-in template functions in a custom template function ilovejedd Library Management 4 01-28-2018 12:20 PM


All times are GMT -4. The time now is 05:48 PM.


MobileRead.com is a privately owned, operated and funded community.