# number filtering

**URL:** <https://forum.knime.com/t/number-filtering/20710>\
**Category:** KNIME Extensions\
**Tags:** text-processing\
**Created:** [January 28, 2020, 7:27pm UTC](https://forum.knime.com/t/number-filtering/20710 "2020-01-28T19:27:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmed\_gomaa](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@ahmed\_gomaa](https://forum.knime.com/u/ahmed_gomaa)\
**Post date:** [January 28, 2020, 7:27pm UTC](https://forum.knime.com/t/number-filtering/20710/1 "2020-01-28T19:27:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tarent](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@tarent](https://forum.knime.com/u/tarent)\
**Post date:** [January 30, 2020, 9:33am UTC](https://forum.knime.com/t/number-filtering/20710/2 "2020-01-30T09:33:31Z")

</div>

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]\*","")

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 2, 2023, 9:42pm UTC](https://forum.knime.com/t/number-filtering/20710/3 "2023-06-02T21:42:55Z")

</div>

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