> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/pt-br/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/match-expression-tool-regex.md).

# Regex da ferramenta de expressão de correspondência

A ferramenta de expressão de correspondência é usada quando você conhece parte das combinações de caracteres nos SKUs, nas categorias ou nos códigos promocionais dos seus produtos e quer comparar essas combinações com os SKUs, as categorias ou os códigos promocionais enviados com suas conversões. Você só precisa usar essa ferramenta quando não tiver a lista completa de itens em uma [lista de exceções](https://help.impact.com/brand/pt-br/what-would-you-like-to-learn-about/account-administration/program-settings/exception-lists/create-category-and-sku-exception-lists.md).

1. Na barra de navegação superior, selecione ![](https://526234278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[Perfil do usuário] → Configurações**.
2. Na coluna à direita, abaixo de *Listas de exceções*, selecione *Listas de exceções* seção, selecione **SKU**.
3. Selecione **Adicionar nova lista de SKUs**.
4. Selecione **Mostrar configurações avançadas** ![](https://526234278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-500f241687470b7f2c6cf43ec949c2463692cd19%2F0323174d38f3b23e95ed28b6734e6af44b570eec2eecb0ea9f2e0f064962b5fb.svg?alt=media).
5. No campo Expressões de correspondência, há dois componentes importantes da ferramenta de expressão de correspondência:

   <div data-with-frame="true"><figure><img src="https://526234278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fo0oA9Jgl9iotRSvygzEZ%2FScreenshot%202026-05-07%20at%2009.46.16.png?alt=media&amp;token=ceb272c6-fc6f-45ff-b799-8e6b35f840c8" alt="" width="563"><figcaption></figcaption></figure></div>

   | Componente                                                                                                                                                                             | Descrição                                                                                            |
   | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
   | [Regex dentro dos parênteses](https://help.impact.com/brand/pt-br/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/regex-inside-the-parentheses.md) | Corresponde exatamente aos itens da lista de exceções associada.                                     |
   | [Regex fora dos parênteses](https://help.impact.com/brand/pt-br/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/regex-outside-the-parentheses.md)  | Define as condições para comparar os itens da lista de exceções com os dados de conversão recebidos. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/pt-br/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/match-expression-tool-regex.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
