View Single Post
Old 10-30-2015, 07:09 PM   #1
Awfki
Member
Awfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and graceAwfki herds cats with both ease and grace
 
Awfki's Avatar
 
Posts: 24
Karma: 43434
Join Date: Apr 2010
Device: Moon+ Reader (ePub)
Is there a way to merge tags, preferably via regex?

I've started keeping info on awards in tags and initially was keeping the year and category in separate tags but now I've decided I'd rather keep one tag.

Here's an example of the tags I have:

Code:
Hugo2015, HugoNovel
I'd like to turn that into:

Code:
Hugo-2015-Novel
If could work on the string "Hugo2015, HugoNovel" I'd be done already but Calibre seems to only let me work on these two strings separately, "Hugo2015" and "HugoNovel" and so I can't combine them with a regex.

Is there a simple-ish solution?


PS. I know about custom columns but don't wish to use them.

PPS. If there's a simple way to merge tags so I'd end up with "Hugo2015-HugoNovel" or even "Hugo2015HugoNovel" then that would be fine and I can regex from there.

Last edited by Awfki; 10-30-2015 at 07:12 PM.
Awfki is offline   Reply With Quote