I think this should work. It avoids all the logic gates and different filters. While this will need to be done for every item it’s the easiest thing I could think of. Hope this helps, if it doesn’t work tell me what it is and I’ll try to fix it.
Importable
{“data”:{“behavior”:{“v”:“2”,“nodes”:[{“inputCount”:2,“outputCount”:2,“name”:“Text Compare”,“behaviorType”:“logic.data.TextCompare”,“x”:2340,“y”:-32,“group”:“a87435aae8604940”,“id”:“be1de16bf696ce49”,“notes”:“Looking for WoodWood-WoodWood\nSet to B contains A”,“n_o”:1,“hsv”:“WoodWood-WoodWood”,“mode”:3},{“inputCount”:5,“outputCount”:2,“name”:“Text”,“behaviorType”:“logic.data.TextBlock”,“x”:2160,“y”:-32,“group”:“a87435aae8604940”,“id”:“be23c4c655bc5246”,“notes”:“Inputs need a slight delay so order does not get mixed up.”,“n_o”:1,“startVal”:""},{“inputCount”:3,“outputCount”:1,“name”:“Switch”,“behaviorType”:“logic.logic.Switch”,“x”:2520,“y”:-32,“group”:“a87435aae8604940”,“id”:“be26af7dfcf4f44b”,"_startVal":0,“dataType”:1},{“inputCount”:1,“outputCount”:1,“name”:“To Number”,“behaviorType”:“logic.data.ToNumber”,“x”:2610,“y”:-128,“group”:“a87435aae8604940”,“id”:“be270a87e3b3c34e”,“notes”:“Goes to whatever it needs to”,“n_o”:1},{“inputCount”:2,“outputCount”:2,“name”:“Text Compare”,“behaviorType”:“logic.data.TextCompare”,“x”:2340,“y”:128,“group”:“a87435aae8604940”,“id”:“be270eeac9b1214d”,“notes”:“every letter besides W, O, D. Set to B contains A”,“n_o”:1,“hsv”:“abcefghijklmnpqrstuvxyz”,“mode”:3},{“inputCount”:1,“outputCount”:1,“name”:“To Number”,“behaviorType”:“logic.data.ToNumber”,“x”:2520,“y”:96,“group”:“a87435aae8604940”,“id”:“be284ac37e848c41”},{“inputCount”:1,“outputCount”:1,“name”:“To Number”,“behaviorType”:“logic.data.ToNumber”,“x”:2520,“y”:160,“group”:“a87435aae8604940”,“id”:“be2866240d698b4c”}],“links”:[{“input_id”:“be1de16bf696ce49i1”,“output_id”:“be23c4c655bc5246o0”},{“input_id”:“be26af7dfcf4f44bi2”,“output_id”:“be1de16bf696ce49o0”},{“input_id”:“be270eeac9b1214di1”,“output_id”:“be23c4c655bc5246o0”},{“input_id”:“be26af7dfcf4f44bi0”,“output_id”:“be284ac37e848c41o0”},{“input_id”:“be26af7dfcf4f44bi1”,“output_id”:“be2866240d698b4co0”},{“input_id”:“be270a87e3b3c34ei0”,“output_id”:“be26af7dfcf4f44bo0”},{“input_id”:“be270a87e3b3c34ei0”,“output_id”:“be26af7dfcf4f44bo0”},{“input_id”:“be270eeac9b1214di1”,“output_id”:“be23c4c655bc5246o0”},{“input_id”:“be284ac37e848c41i0”,“output_id”:“be270eeac9b1214do0”},{“input_id”:“be2866240d698b4ci0”,“output_id”:“be270eeac9b1214do1”},{“input_id”:“be284ac37e848c41i0”,“output_id”:“be270eeac9b1214do0”},{“input_id”:“be26af7dfcf4f44bi0”,“output_id”:“be284ac37e848c41o0”},{“input_id”:“be2866240d698b4ci0”,“output_id”:“be270eeac9b1214do1”},{“input_id”:“be26af7dfcf4f44bi1”,“output_id”:“be2866240d698b4co0”}]}}}