# Ignoring minor changes - condition based on text length

**URL:** <https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030>\
**Category:** Help and Support\
**Tags:** conditions\
**Created:** [May 19, 2023, 8:35am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030 "2023-05-19T08:35:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![grzegorz.skoczylas](https://forums.distill.io/letter_avatar_proxy/v4/letter/g/3be4f8/32.png) [@grzegorz.skoczylas](https://forums.distill.io/u/grzegorz.skoczylas)\
**Post date:** [May 19, 2023, 8:35am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/1 "2023-05-19T08:35:10Z")

</div>

Is it possible to set up monitoring of a particular URL so that it ignores minor changes?

For example, I would like to ignore changes if less than three consecutive characters have been changed or added.

---

<div class="post-metadata">

**Author:** ![surya](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@surya](https://forums.distill.io/u/surya)\
**Post date:** [May 19, 2023, 11:45am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/2 "2023-05-19T11:45:39Z")

</div>

Hi @grzegorz.skoczylas

Firstly, welcome to Distill’s forums!!

You can try adding a condition “_Added text matches the regular expression_”  
`\w{3,}`

The above regular expression will match the occurrence of any character (a-z, A-Z, 0-9) 3 or more times.

Best,  
Surya

---

<div class="post-metadata">

**Author:** ![grzegorz.skoczylas](https://forums.distill.io/letter_avatar_proxy/v4/letter/g/3be4f8/32.png) [@grzegorz.skoczylas](https://forums.distill.io/u/grzegorz.skoczylas)\
**Post date:** [May 22, 2023, 7:34am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/3 "2023-05-22T07:34:59Z")

</div>

Hi @surya,

Dzięki za tę podpowiedź. 🙂

---

<div class="post-metadata">

**Author:** ![surya](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@surya](https://forums.distill.io/u/surya)\
**Post date:** [May 22, 2023, 2:43pm UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/4 "2023-05-22T14:43:20Z")

</div>

@grzegorz.skoczylas - You are most welcome!

Please feel free to reach out, if you have any additional questions.

Cheers,  
Surya

---

<div class="post-metadata">

**Author:** ![grzegorz.skoczylas](https://forums.distill.io/letter_avatar_proxy/v4/letter/g/3be4f8/32.png) [@grzegorz.skoczylas](https://forums.distill.io/u/grzegorz.skoczylas)\
**Post date:** [May 23, 2023, 6:40am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/5 "2023-05-23T06:40:01Z")

</div>

Hi,

I have other problem but very similar to original one, I think.

I am interested in new articles on a certain website. The difficulty is that on the page where there is an index of published articles, there is information about how long ago the article was published. This is information such as, for example, “4 days ago” or “2 weeks ago”, etc.

If I wanted to detect such texts with a regular expression, I think I would use something like this:  
`\d+(days|weeks|months)`. How to negate this condition, i.e. how to detect all changes except such texts?

---

<div class="post-metadata">

**Author:** ![surya](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@surya](https://forums.distill.io/u/surya)\
**Post date:** [May 24, 2023, 2:33pm UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/6 "2023-05-24T14:33:38Z")

</div>

Hi @grzegorz.skoczylas

Can you provide a link to a sample URL that you are trying to monitor?  
I’d like to understand the problem better, before suggesting a solution.

Cheers,  
Surya

---

<div class="post-metadata">

**Author:** ![grzegorz.skoczylas](https://forums.distill.io/letter_avatar_proxy/v4/letter/g/3be4f8/32.png) [@grzegorz.skoczylas](https://forums.distill.io/u/grzegorz.skoczylas)\
**Post date:** [May 25, 2023, 6:56am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/7 "2023-05-25T06:56:51Z")

</div>

I am interested in knowing if and when an [issue](https://issues.apache.org/jira/browse/XALANJ-2657) will be resolved for one of the programming libraries. I cannot enable “Start watching this issue” because I am not a member of the team working on this project.

Currently, there is a publication date for each comment, but if the comment was published no more than about 10 days ago, the comment date is published differently, for example:  
 ![image](https://forums.distill.io/uploads/default/original/1X/78c85915813f2be0aa8d23cebf7789ed89845aad.png)

If anyone now adds a comment there, again in the next few days Distill will inform me that the comment was added “1 day ago”, “2 days ago”, …, “1 week ago”.

---

<div class="post-metadata">

**Author:** ![surya](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@surya](https://forums.distill.io/u/surya)\
**Post date:** [May 25, 2023, 10:45am UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/8 "2023-05-25T10:45:55Z")

</div>

Hi @grzegorz.skoczylas

If your use-case requires you to exclude the dates (because they change the format after a few days / weeks), then I believe a better solution is to select a larger element and add rejections to eliminate the noise.

Here is a sample screenshot where you can see the _Selected_ & _Deselected_ parts highlighted by the visual selector using the extension.

 ![image](https://forums.distill.io/uploads/default/original/1X/7edb03ca1f7be68f31c2e46e612083aeef914fbb.png)

Let me know, if that helps solve the challenge.

Cheers,  
Surya

---

<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:** [August 25, 2023, 1:28pm UTC](https://forums.distill.io/t/ignoring-minor-changes-condition-based-on-text-length/2030/9 "2023-08-25T13:28:30Z")

</div>

A post was split to a new topic: [How to ignore a line of text from triggering notificatons](https://forums.distill.io/t/how-to-ignore-a-line-of-text-from-triggering-notificatons/2429)
