Remove all blank rows with RegexReplace node

Dear Knime Members,

I would like to ask some help.
I have a content text, az it has some blank rows. I try to remove it, but isn’t working my methode. I checked my methode in Regex101, it is working there.

What is my fault?

Thank you.
Tamas


KNIME_Lucas and his Father.knwf (8.7 KB)
Sample.docx (11.4 KB)

Hi @janszky_nav

You’re close, but if you use regexReplace($Content$,"[\\r\\t\\n]" ,"") it should get you some better results.

Dear ArjenEX,

Yes, thank you, but in the middle of the text “…Lea is his SisterBut it is a …” concat two words.
Later I would like to sorting (Sorter node) (TF/DF methode) them.

Tamas

have you tried checking the length of the row as filter instead?
br

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