# Use Rule Based Row Filter with char " \* "

**URL:** <https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462>\
**Category:** KNIME Analytics Platform\
**Created:** [April 23, 2021, 8:10am UTC](https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462 "2021-04-23T08:10:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BCadete](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/b/6bbea6/32.png) [@BCadete](https://forum.knime.com/u/BCadete)\
**Post date:** [April 23, 2021, 8:10am UTC](https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462/1 "2021-04-23T08:10:52Z")

</div>

Dear forum,

As a new KNIME user, I was wanting to use the Rule Based Row Filter to exclude rows in my dataset that start with the characters \*\*.

As the character \* is also used to identify a wildcard I wasn’t able to actively use it for filtering.

Does anyone know how to best tackle this?

Example rows that I wish to exclude:

\*\* AMASIS = 12345 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

* * *

\*\*\*\*\*\*\*\*\*\*\*REPORTS X \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Thanks for any insights.

Cheers

---

<div class="post-metadata">

**Author:** ![Andrew\_Steel](https://forum-cdn.knime.com/user_avatar/forum.knime.com/andrew_steel/32/4472_2.png) [@Andrew\_Steel](https://forum.knime.com/u/Andrew_Steel)\
**Post date:** [April 23, 2021, 8:57am UTC](https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462/2 "2021-04-23T08:57:52Z")

</div>

Hi @BCadete,

`$column1$ MATCHES "[*]{2,}.*" => FALSE`  
matches all rows which starts with 2 asterix

Best Regards  
Andrew

---

<div class="post-metadata">

**Author:** ![BCadete](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/b/6bbea6/32.png) [@BCadete](https://forum.knime.com/u/BCadete)\
**Post date:** [April 23, 2021, 9:25am UTC](https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462/3 "2021-04-23T09:25:44Z")

</div>

HI Andrew,

Perfect solution.

Thanks for the quick feedback.

Best Regards,  
Bruno

---

<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:** [October 22, 2021, 9:26pm UTC](https://forum.knime.com/t/use-rule-based-row-filter-with-char/32462/4 "2021-10-22T21:26:01Z")

</div>

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