Quote:
Originally Posted by chaley
The regular expression needs to account for the position of the desired field in the string. which can be first, middle, or last. For example:
Code:
^(.*?, *|)(weight:.+?|)(,.*?|)$
The above expression doesn't work if there isn't a "weight:...." tag somewhere in the list.
I leave it to you to figure out how to change the expression you use to delete the tag from the tag set. The change will be similar.
|
is it possible to excude the "weight:" text from moving to the other field?
test: "case:AR5steel, light, group:Fractal-group, weight:@seventyOne'Kilos, Xeon, ZRX0, ZRX4"
result: "weight:@seventyOne'Kilos"
The result am looking for is "@seventyOne'Kilos".