> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-ricerca-e-sostituisci-valore.md).

# Acción de regla: ricerca e sostituisci valore

### Casos de uso

* Sustituye el valor completo de un campo por otro valor que elijas. El valor se sustituirá solo si es un **coincidencia exacta**.

Usa el **Buscar y reemplazar valor** acción para buscar una coincidencia exacta con un valor y solo reemplazarlo cuando haya una coincidencia exacta.

Por ejemplo, si el valor de búsqueda es "Red" y el valor de reemplazo es "Brick", la salida será "Brick" solo para los productos que tengan exactamente el valor "Red". No cambiará productos que tengan valores como "Dark Red", aunque contengan "Red".

### Rellenar valores encontrados

Para extraer automáticamente los valores existentes de un campo, haz clic **Rellenar valores encontrados**. Todos los valores encontrados se añadirán a la **Cuando el campo sea igual a** sección y entonces puedes añadir con qué debe reemplazarse cada valor en **Luego cambia el valor a**.

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/uNBnB0pq1rZGyUcfTK1h/27478647359122" alt=""><figcaption></figcaption></figure>

### Distinguir mayúsculas y minúsculas

Si seleccionas la **Distinguir mayúsculas y minúsculas** opción, reemplazará los campos que contengan valores exactos con mayúsculas y minúsculas. Así que si esto está activo (se mostrará una marca) y buscamos la entrada "red", y nuestro valor de reemplazo es "Brick", la salida será "Brick" para todos los productos que tengan el valor "red", pero no para aquellos que tengan el valor "Red".

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/GaFu4v1xcN6ZuckJ1dqz/360014377439" alt=""><figcaption></figcaption></figure>


---

# 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://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/como-utilizar-acciones-entonces-en-las-reglas/accion-de-regla-ricerca-e-sostituisci-valore.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.
