number filtering

The number filter node has two options. filter the number as a term or filter the term if it has a number. for the second option, how can just filter the number part from the term that consists of characters and number. for example asd123. I just want to keep on asd.

ASAIK you can’t with this node or any other node in Text Processing.
You need to pre-process your text before you convert it to a Document.
One way of removing the numbers might be the String Manipulation node, use the regex Operator:
regexReplace($YourTextColumn$,"[0-9]*","")

1 Like

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