Find and replace text in knowledge articles
Make global changes to the content of a knowledge article by finding and replacing specific text using the HTML editor.
Before you begin
Open the knowledge article in which you want to use the HTML editor.
About this task
You can also use the HTML editor when creating or editing a knowledge article using the Knowledge Management application in the ServiceNow AI Platform interface or in Agent Workspace. To create or edit a knowledge article in the ServiceNow AI Platform interface, see Create a knowledge article or Edit a knowledge article. To create or edit a knowledge article in Agent Workspace, see Create a knowledge article in Agent Workspace or Edit a knowledge article in Agent Workspace.
Procedure
-
In the Article body section, place the cursor anywhere.
-
Click the find and replace icon on the HTML toolbar.
-
In the Find and Replace dialog box, in the Find field, enter the search term you want to find.
-
Enter replacement text for the search term in the Replace with field.
If you want to delete repeated occurrences of the search text, leave the Replace with field blank.
-
Refine the scope of the search.
- To limit the search to text that exactly matches the case of the search term, select the Match case check box.
- To limit the search to text that matches one or more complete words only, select the Whole words check box.
-
Find or replace the search term.
|
To |
Do this |
|---|---|
|
Find instances of the search text |
Click Find. |
|
Replace individual instances of the found text with the replacement text entered in the Replace with field |
Click Replace.Use the Prev and Next buttons to navigate to the previous and next instance of the search term, respectively. |
|
Replace all instances of the search text automatically in the selected field |
Click Replace all. |
When no more occurrences of the term can be found or if the search term is not found at all in the content, a message appears indicating that the specified string wasn't found.
---
title: Find and replace text in knowledge articles
description: Make global changes to the content of a knowledge article by finding and replacing specific text using the HTML editor.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/knowledge-management/find-replace-html-editor.html
release: australia
product: Knowledge Management
classification: knowledge-management
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 2
breadcrumb: [Editing functions for knowledge articles in the HTML editor, Creating and maintaining articles, Knowledge Management, Manage content capabilities, Extend ServiceNow AI Platform capabilities]
---
# Find and replace text in knowledge articles
Make global changes to the content of a knowledge article by finding and replacing specific text using the HTML editor.
## Before you begin
Open the knowledge article in which you want to use the HTML editor.
## About this task
You can also use the HTML editor when creating or editing a knowledge article using the Knowledge Management application in the ServiceNow AI Platform interface or in Agent Workspace. To create or edit a knowledge article in the ServiceNow AI Platform interface, see [Create a knowledge article](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/knowledge-management/create-knowledge-article.md) or [Edit a knowledge article](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/knowledge-management/edit-knowledge-article.md). To create or edit a knowledge article in Agent Workspace, see [Create a knowledge article in Agent Workspace]() or [Edit a knowledge article in Agent Workspace]().
## Procedure
1. In the Article body section, place the cursor anywhere.
2. Click the find and replace icon on the HTML toolbar.
3. In the Find and Replace dialog box, in the **Find** field, enter the search term you want to find.
4. Enter replacement text for the search term in the **Replace with** field.
If you want to delete repeated occurrences of the search text, leave the **Replace with** field blank.
5. Refine the scope of the search.
- To limit the search to text that exactly matches the case of the search term, select the **Match case** check box.
- To limit the search to text that matches one or more complete words only, select the **Whole words** check box.
6. Find or replace the search term.
<table id="choicetable_sht_yjb_xlb"><thead><tr><th align="left" id="d640037e164">
To
</th><th align="left" id="d640037e167">
Do this
</th></tr></thead><tbody><tr><td id="d640037e173">
**Find instances of the search text**
</td><td>
Click **Find**.
</td></tr><tr><td id="d640037e185">
**Replace individual instances of the found text with the replacement text entered in the __Replace with__ field**
</td><td>
Click **Replace**.Use the **Prev** and **Next** buttons to navigate to the previous and next instance of the search term, respectively.
</td></tr><tr><td id="d640037e209">
**Replace all instances of the search text automatically in the selected field**
</td><td>
Click **Replace all**.
</td></tr></tbody>
</table>
## Result
When no more occurrences of the term can be found or if the search term is not found at all in the content, a message appears indicating that the specified string wasn't found.
| title | Find and replace text in knowledge articles |
| description | Make global changes to the content of a knowledge article by finding and replacing specific text using the HTML editor. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/servicenow-platform/knowledge-management/find-replace-html-editor.html |
| release | australia |
| product | Knowledge Management |
| classification | knowledge-management |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | Editing functions for knowledge articles in the HTML editorCreating and maintaining articlesKnowledge ManagementManage content capabilitiesExtend ServiceNow AI Platform capabilities |