Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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

  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.
    • Find or replace the search term.
ToDo this
Find instances of the search textClick Find.
Replace individual instances of the found text with the replacement text entered in the Replace with fieldClick 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 fieldClick 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.