> For the complete documentation index, see [llms.txt](https://help.aiaibot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aiaibot.com/robot/plugins/textverarbeitung/ersetzen-im-text.md).

# Ersetzen im Text

Mit dem Plugin <img src="/files/zhkXqbpNL8GPcblkDcYw" alt="" data-size="line"> *Ersetzen im Text* haben Sie die Möglichkeit, nach Mustern oder Zeichen in einem Text zu suchen und mit anderen Zeichen oder Texten zu ersetzen.

<figure><img src="/files/TvOR5SamNeudCiIkul6r" alt="" width="292"><figcaption></figcaption></figure>

## Parameter "Quelle"

In der Auswahlbox *Quelle* wählen Sie eine Variable aus, deren Inhalt Sie durchsuchen möchten.

## Parameter "Suchmuster"

In diesem Eingabefeld legen Sie den Suchbegriff oder das Suchmuster fest.

## Parameter "Suchmodus"

Für den *Suchmodus* stehen die Optionen *Normal* oder *Regular Expr.* zur Verfügung. Ein regulärer Ausdruck ermöglicht es Ihnen, komplexe Strukturen oder nicht druckbare Zeichen (wie Zeilenumbrüche oder Tabulatoren) zu finden.

<figure><img src="/files/7hF28QQ7VKUQ9GODMefi" alt="" width="285"><figcaption></figcaption></figure>

### Testen

Wenn Sie *Regular Expr.* als Suchmodus auswählen, haben Sie die Möglichkeit, den regulären Ausdruck anhand eines Beispieltextes zu testen. Klicken Sie dazu auf *Testen*, um den Testmodus zu öffnen.

<figure><img src="/files/UYpbSPo3EkaeTNTEaiqW" alt="" width="286"><figcaption></figcaption></figure>

## Parameter "Ersetzen durch"

Im Eingabefeld *Ersetzen durch* geben Sie das Zeichen oder den Text ein, der das Suchmuster ersetzen soll.

## Parameter "Ergebnis"

Abschliessend wählen Sie in der Auswahlbox *Ergebnis* die Variable aus, in der der neue Text gespeichert werden soll. Wenn Sie dieselbe Variable auswählen wie für den Parameter *Quelle*, wird die Variable überschrieben.


---

# 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 dynamically by asking a question.

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

```
GET https://help.aiaibot.com/robot/plugins/textverarbeitung/ersetzen-im-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
