View Single Post
Old 07-24-2020, 05:41 AM   #11
yamusing
Enthusiast
yamusing began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jul 2019
Device: none
Quote:
Originally Posted by chaley View Post
Two ways to do it.

First way, and what I would do, is "mark" the tags using Manage Tags then move them using bulk S&R. By "mark" I mean add a prefix to the tags you want to move, for example !!!. Then using S&R search source field "tags" for "^!!!(.*)$" (no quotes) with a replacement of \1, destination field the new column. Next do a second pass to delete the tags from the tags column. Same source field, same search pattern, "replace with" and "destination field" are empty. I like this approach because I can in one scan through the tags manually choose the ones to move.

Second way, OK if there aren't too many of them, is to use regex alternation. Search tags for "^(Orange|Cat|Water|Weight:heavy|color)$" , replacement \1, destination field the new column. Next do a second pass to delete the tags from the tags column. Same source field, same search pattern, "replace with" and "destination field" are empty.

Note that S&R processes multiple-item fields such as tags item by item, not as a single line. The order of the items is not important. When using a destination field different from the source, S&R copies the value, which is why you need two passes.
would this way also work, move all tags to cutom tag column, then using the Tag mapper to set rules to remove specific tags?
The "Tag mapper" only applies to the inbuild "Tags" column right?
yamusing is offline   Reply With Quote