String replace to replace part of string with dictionary or any other list

Hi collegues,

Now I am trying to replace part of string with dictionary.
Actually, I have a stoplist to remove some words(200~300 words)
but, Stoplist or String replacer can’t replace or remove the part of string
EX:
Sentence: “XXXAAAXXX YYY”
Stoplist: “AA”

in this case Stoplist or String replacer can’t replace or remove 'AA"

is there any other way to solve this problem?

Any ideas ? Any help greatly appreciated.

Thanks a lot,

Sup

It is because AA in your case is not a word but a part of a word. RegEx within String Manipulation should help - you could loop over your stoplist…

2 Likes

Hum.
Thank you Geo
but is there any comport node?
but I will try this way!

My guess is that a loop start -> str manip -> loop end is the “simplest” you can do for this task.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.