Make global changes to the content of a knowledge article by finding and replacing
specific text using the HTML editor.
Avant de commencer
Open the knowledge article in which you want to use the HTML editor.
Pourquoi et quand exécuter cette tâche
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.
Procédure
-
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.
- Facultatif :
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. |
Résultats
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.