Remove nonprinting characters from text

Hi everybody I want to know if there is a way to remove all nonprinting characters from text in a once for all way. I mean like using the CLEAN function that is available in Excel.

In the image below I show the input and output of the information in notepad++ after using removeChars(removeDiacritic($Data$)) in the string manipulation node


I think that probably I have to use the java node

Thank you




How about using Regex Filter node

filtering for all non-whitespace characters ^s ?

There is also a Punctuation Filter node, I haven't used it myself but it sounds useful in your case.

Check out other filter nodes under

KNIME LABS>Text Processing>Preprocessing