# Exact text sentence Match

**URL:** <https://forums.distill.io/t/exact-text-sentence-match/3308>\
**Category:** Help and Support\
**Tags:** conditions\
**Created:** [April 3, 2024, 2:36pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308 "2024-04-03T14:36:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![distil145](https://forums.distill.io/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@distil145](https://forums.distill.io/u/distil145)\
**Post date:** [April 3, 2024, 2:36pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/1 "2024-04-03T14:36:52Z")

</div>

What condition to create to find the EXACT sentence match ? There is one or two words same in the page but need the exact sentence match to notify, for example “The condition should only notify if this exact sentence is here” to match and notify

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [April 4, 2024, 12:44pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/2 "2024-04-04T12:44:05Z")

</div>

Hi @distil145, do you need the text in the monitored content to be exactly the same as the phrase or sentence in the condition?

Let’s take an example to clarfiy if further. Assume that updated monitored text is `iphone is on sale. buy it now`. The sentence you are looking to match is `iphone is on sale`. Do you expect to get alerted in this case?

---

<div class="post-metadata">

**Author:** ![distil145](https://forums.distill.io/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@distil145](https://forums.distill.io/u/distil145)\
**Post date:** [April 4, 2024, 11:11pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/5 "2024-04-04T23:11:36Z")

</div>

Hello , Correct i am looking for long sentence to match instead of one word. Get an alert for " iphone is on sale right now " for example in the monitored content page. But it should be exact match for the sentence so i won’t get alerted if there is another “iphone” word in the page.

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [April 5, 2024, 6:40am UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/6 "2024-04-05T06:40:53Z")

</div>

The condition `text has iphone is on sale` will work. It will look for presence of text in the monitored content and alert if it is found.

---

<div class="post-metadata">

**Author:** ![distil145](https://forums.distill.io/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@distil145](https://forums.distill.io/u/distil145)\
**Post date:** [April 5, 2024, 3:50pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/8 "2024-04-05T15:50:13Z")

</div>

Also is there a option choose to look for text that is freshly added so condition only look for updated text ?

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [April 5, 2024, 10:17pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/9 "2024-04-05T22:17:10Z")

</div>

Sure, check out [Optimizing Alerts with Conditions – Distill](https://distill.io/docs/web-monitor/using-conditions-to-get-alert-on-important-changes/)

---

<div class="post-metadata">

**Author:** ![distil145](https://forums.distill.io/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@distil145](https://forums.distill.io/u/distil145)\
**Post date:** [April 11, 2024, 8:01pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/12 "2024-04-11T20:01:28Z")

</div>

Hi i have the same issue after changing the condition.

When i put text contains : iphone is great

it matches and alerts any other words containing “iphone” or “great” in the page,  
i only want the exact sentence “iphone is great” to be alerted , how to do this ? It seems to alert with any word that is matching instead Exact sentence iphone is great ?

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [April 12, 2024, 7:25am UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/13 "2024-04-12T07:25:44Z")

</div>

The condition will trigger if and only if the full phrase was found. Note when the change history highlights changes, it does so for all changes regardless of what conditions were set.

You can check why a notification was triggered by clicking the bell icon in the monitor’s change history. Please see: [https://distill.io/docs/web-monitor/using-conditions-to-get-alert-on-important-changes/#how-to-find-out-which-condition-triggered-the-alert](https://distill.io/docs/web-monitor/using-conditions-to-get-alert-on-important-changes/#how-to-find-out-which-condition-triggered-the-alert)

Let me know what you find out.

---

<div class="post-metadata">

**Author:** ![distil145](https://forums.distill.io/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@distil145](https://forums.distill.io/u/distil145)\
**Post date:** [April 13, 2024, 11:52pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/15 "2024-04-13T23:52:38Z")

</div>

I found out that “iphone is great” sentence is in the page 3 or 4 times . Is there a way to get notification Only when a New “iphone is great” sentence is entered ? Because it keeps notifying old sentences since samething is already in the page.

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [April 14, 2024, 9:35pm UTC](https://forums.distill.io/t/exact-text-sentence-match/3308/16 "2024-04-14T21:35:15Z")

</div>

You can use “added text” or “net added text” instead of “text”.
