View Single Post
Old 05-07-2020, 10:54 AM   #7
yamusing
Enthusiast
yamusing began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Jul 2019
Device: none
Quote:
Originally Posted by chaley View Post
The easiest way to do this is to use template as the source. That makes it easier to delete text across tag boundaries.

To copy the text to a new column:
Code:
Source: template
Template: {tags}
Search for: ^.*, (weight:.+), .*$
Replace with: \1
Destination: whatever the name of your column is
To delete the text from tags:
Code:
Source: template
Template: {tags}
Search for: ^(.*), weight:.+(, .*)$
Replace with: \1\2
Destination: tags
BTW: your input examples in the first post do not contain {} characters
I've never used the template functions, how would I input this into there?
yamusing is offline   Reply With Quote