---
title: Searching and replacing in text
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

In this topic, you can learn about:

- [Searching in text](#searching-in-text)
- [Replacing a word or a phrase in text](#replacing-a-word-or-a-phrase-in-text)

## Searching in text

The editor allows you to quickly search through text and shows you where it has found the word or phrase you have been looking for. This makes navigating in text faster than by having to go through the text manually.

1. In the editor toolbar, click on the **Find** button. A **Find and Replace** dialog opens.

   ![](https://docs.kentico.com/docsassets/k81/searching-and-replacing-in-text/searching_in_text.png)
2. In the **Find what** field, enter the word or phrase that you want to find.
3. (Optional) Specify the other options to refine the search:
   1. **Match case** - makes sure that the search looks for the word in the exact case only. For example, when searching for '**Uncle**', the system doesn't return '**uncle**' as a match.
   2. **Match whole word** - makes sure the search looks for the exact word only. For example, when searching for '**auto**', the system doesn't return '**automotive**' as a match.
   3. **Match cyclic** - when the search reaches the end of the page, it starts from the beginning again. This is useful when you're not searching from the beginning of the page.
4. Click the **Find** button. If any, the system returns the first match of the word it finds.
5. Use the **Find** button again to go through the other matches.

## Replacing a word or a phrase in text

The editor allows you to replace multiple occurrences of words or phrases at once. It searches through the text, looking for a word or a phrase that you specify and replaces them with a replacement that you specified. It replaces the word or phrase that you specify either one by one or all of the occurrences at once.

You can use the replace feature to make consistent changes without having to go through the text manually.

### To replace a word or a phrase in text

1. In the editor toolbar, click on the **Replace** button. A **Find and Replace** dialog opens.

   ![](https://docs.kentico.com/docsassets/k81/searching-and-replacing-in-text/replacing_in_text.png)
2. In the **Find what** field, enter the word or phrase that you want to replace.
3. In the **Replace with** field, enter the word or phrase that you want to use as a replacement.
4. (Optional) Specify the other options to refine the replacement:
   1. **Match case** - makes sure that the search looks for the word in the exact case only. For example, when searching for '**Uncle**', the system doesn't return '**uncle**' as a match.
   2. **Match whole word** - makes sure the search looks for the exact word only. For example, when searching for '**auto**', the system doesn't return '**automotive**' as a match.
   3. **Match cyclic** - when the search reaches the end of the page, it starts from the beginning again. This is useful when you're not searching from the beginning of the page.
5. Click the **Replace** button to replace occurrences one by one.\
   – OR –\
   Use the **Replace all** button to replace all occurrences at once. The system then displays the number of matches it has replaced.
