Find and replace text in knowledge articles

task australia Updated Sep 10, 2026 2 min read find-replace-html-editor.md
Raw file servicenow.com

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

  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.

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.

## 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.

Search documentation
Search document titles and file paths on the australia branch