Substring Replacement using flow variable

I have a query, I have, 11 different substring replacements to be done and I have created regex using flow variables

Eg: Flow variable 1- word1|word2|word3 to be replaced by A
Flow variable 2- word4|word5|word6 to be replaced by B
and so on up to 11 such flow variables

Now to do the substring replacement using these flow variable, I need 11 string replacer node.

Is it possible to do this using less nodes.
Thanks for your help :slight_smile:

Duplicate: String Replacer Issue with automation - #3 by Ummehaani