# Ignore Trivial Differences, Like Timestamps

During a Text Compare session it is often convenient to ignore things like dates and times. Beyond Compare can do this by creating a rule for what is Unimportant, using a Regular Expression.  In the example  below, if you wanted to ignore Lines 1 and 2, you can write an appropriate RegEx for each.  Then when you press the *Minor* key, any differences which you defined as Unimportant Differences will lose their color highlighting.  Also,  in a Text Compare Report, they can be ignored.

![](https://1446155253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXUX-uoaZJ8T4qyEc-x%2F-LnP95I5TRtmLkoR_pH_%2F-LnP9KM1kO6KJMPMLIpE%2Fimage.png?alt=media\&token=147ccfdc-7977-4cac-bd4a-a371a0d16c99)

First, from the Rules button, choose: `Rules->Importance->[+]->`[`#`**`RegEx`**](https://twitter.com/hashtag/RegEx?src=hash)

Then add these rules to ignore the following lines:&#x20;

Line 1: \d\d\d&#x20;

Line 2: Date/Time:.&#x20;

Line 7: IP Address:*.*\d+.\d+.\d+.\d+.\*

![](https://1446155253-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXUX-uoaZJ8T4qyEc-x%2F-LnP95I5TRtmLkoR_pH_%2F-LnPBCHmhrNYiRVg7jZP%2Fimage.png?alt=media\&token=684d885f-15d8-440d-acde-3d0c2789c57a)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyondcompare.gitbook.io/project/text-compare/how-to-use-regular-expressions-in-beyond-compare-to-ignore-trivial-differences-like-timestamps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
