# Near match function in Rule Based Node

**URL:** <https://forum.knime.com/t/near-match-function-in-rule-based-node/73583>\
**Category:** KNIME Analytics Platform\
**Created:** [October 17, 2023, 7:19am UTC](https://forum.knime.com/t/near-match-function-in-rule-based-node/73583 "2023-10-17T07:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejazrasul](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/e/a9a28c/32.png) [@ejazrasul](https://forum.knime.com/u/ejazrasul)\
**Post date:** [October 17, 2023, 7:19am UTC](https://forum.knime.com/t/near-match-function-in-rule-based-node/73583/1 "2023-10-17T07:19:09Z")

</div>

Dear Group,

I have two columns i.e. A & B and some information is matching in each column but it is not exactly the same. I need function for near matches to apply in rule based node  
e.g. I need alternate of $ColumnA$ MATCHES $ ColumnB$ =\> TRUE base on near matches

---

<div class="post-metadata">

**Author:** ![ScottF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/scottf/32/61316_2.png) [@ScottF](https://forum.knime.com/u/ScottF)\
**Post date:** [October 17, 2023, 2:36pm UTC](https://forum.knime.com/t/near-match-function-in-rule-based-node/73583/2 "2023-10-17T14:36:56Z")

</div>

Well, depending on how strict you want to be you could try the `LIKE` function.

Alternately, you might need to move outside the Rule Engine node and try some fuzzy matching. Here’s an example workflow to give you an idea - it requires a dictionary of “correct” matches.

> **[Simple Fuzzy Match Example – scottf](https://hub.knime.com/scottf/spaces/Public/latest/ForumWorkflows/2020/09/Simple%20Fuzzy%20Match%20Example~ThRepmnmDMB96tkl)**
>
> This workflow reads in a series of misspelled retailer names, along with the desired version of the names. Using the Similarity Search node, the closest correc…

---

<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:** [January 15, 2024, 2:37pm UTC](https://forum.knime.com/t/near-match-function-in-rule-based-node/73583/3 "2024-01-15T14:37:12Z")

</div>

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