![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2010
Device: none
|
Search-and-replace tags question
Hi, I'm trying to find all tags containing a word or text string and then replace them with a new tag. So I'd like to find all tags containing "colleg" (such as college, collegiate, college admissions, etc.) and remove those tags and replace them with the tag "college". Is there a way to do this?
Similarly, I'd like to delete all tags with a certain text string, such as "1" (to remove date tags). Obviously, I'm looking for a non-manual / one-by-one solution! Thanks for your help! |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,893
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Manage Tags will modify (includes Delete) all usage from a single place. You can Multi-select, but it does no good ![]() Method #2 You could try the Bulk Metadata edit mode (all books with the tags:~Col ) Add Tags: Set a temporary MarkerTag (to avoid accidental deletion) Remove Tags: ( ![]() Then rename your MarkerTag to your final choice Method #3 (very dangerous if you get it wrong.. BackupBackupBackup) NOT TESTED --- USE BIG CARE Again, set a MarkerTag that does NOT start with COL Bulk Metadata edit Search Tags for Col.+$ <<Matches to end of Tag Replace with College NOT TESTED --- USE BIG CARE NOT TESTED --- USE BIG CARE |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
@the ducks
Great post. I have learned at least 2 useful expressions. Maybe I will get my tags beat into submission someday after all. Helen |
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,893
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Get a Regex Cheat sheet and keep it handy (I don't remember all this stuff. I remember where the notes are) Not all the REGEX on the sheet works in Calibre (or Sigil), but it gives you FREE ideas ![]() |
|
![]() |
![]() |
![]() |
Tags |
replace, search, tags |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Global Search and Replace Question | Joan M | Calibre | 30 | 02-20-2013 09:01 PM |
question about search and replace 0.4.904 | congngo | Sigil | 9 | 01-06-2012 02:25 AM |
Search and Replace Question | MacEvansCB | Conversion | 1 | 12-10-2011 02:19 PM |
Search & Replace question - something not right | curiosity | Library Management | 21 | 06-15-2011 11:33 AM |
Search/Replace Question | seagull | Sigil | 22 | 03-21-2011 01:30 PM |