How to strip multiple characters/words from a string

I would like to strip out punctuation, and a list of ‘stop words’, from search parameters. Is the only way to do this using a string of replaces:
value.replace(",", "").replace(".", "") etc… ?
As far as I can see there isn’t a formatter which would take a list/array as an argument.

There seems to be a slight bug with this formatter (or perhaps others). When I reenter the formatter options, the final “)” is removed:

image

Generally, it’s a bit of a fight using the formatter. If you enter nothing (which is what I actually want), a message pops up saying a field is required:
image

If I enter “”, the “” are escaped by Wappler, so the quotes appear in the output (defeating the purpose of using Replace).
image

Manually editing the expression solves the problem.

11 posts were split to a new topic: Problem with replace formatter on Node