Replacing accented characters / multiples spases

Hi Everybody !

I am new on Knime and I want to know if there is a way to :

- replace accented characters by non accented characters ( ex  : é -> e)

- replace MULTIPLE whitespaces by simple whitespace

 

Thank you !

 

JL

Hi Jloup,

You can do this with String Manipulation nodes.

To remove diacritics, the expression is 

removeDiacritic($your_variable$)

To get rid of multiple whitespaces, use

regexReplace($your_variable$, " +", " ")

Hope that helps!

 

Cheers,

Roland

 

4 Likes

Hi Roland !

Thanks a lot for your help !
I finally decided to use "remove duplicates" to get rid of multiple whitespaces and I think that it works.

Thanks again!

 

JL

I had the same question!

tks!

1 Like