I have a plugin for this kind of use that is currently not public.
The plugin take a list of tags and a list of values to replace tag with values.
If this is something you would like to test, send me a PM and we can try if this work for your case
Find & replace function will work fine if you have “static” fields/var. But if user can create new var, and unlimted # of var, you may face some limitations using this.