KB User's Guide - Documents Tab - Find & Replace Text

NoteInformation symbol

You must have full administrative permissions in your space to perform these steps. This means access to the Documents, Settings, and Users tabs.

The KB Find & Replace feature is a Full Text Find and Replace. This document explains to Groups Space Admins exactly how to find and replace text items, words or phrases in multiple KB documents.

Using Find & Replace

  1. Under the Documents tab, click the Find & Replace link in the left navigation bar.

    • Note: You must have "Publish" rights to use this function; if you do not, the Find & Replace link will be grayed out.
  2. In the Find field, enter the word or phrase you wish to find and replace. Please note that the search is case sensitive and applies to any instance of the specific string of letters, numbers, or characters. Please see the Best Practices section below for more tips on searching.

    You may also check or uncheck the boxes for different fields. This is useful if you would like to search for text in just one or a few specific fields, for example, if you are looking for documents that contain a certain word in the body, but not necessarily the keywords.

  3. Click the Find button to populate the list of documents.

  4. If you are performing a "replace" function, enter the new word or phrase in the Replace with field. This is also case sensitive.

    At this point, you can also modify the word in the Find field if needed, as well as adjust the field check boxes.

  5. Click Replace All to replace every instance of the text string in the "Find" input with the text string in the "Replace with" input. This will only occur for the listed documents, and will only update the fields you checked.

The Find & Replace screen.

Best Practices

The Find & Replace is a very powerful and convenient tool. However, it is wise to proceed with MUCH caution to avoid unintended changes.

Case Sensitivity

Both the Find and Replace with fields are case-sensitive.

  • For example, let's say your document contains "Desktop Support" and "desktop support". If you enter "Desktop Support" in the Find field and replace it with "DS Team", any instances of "desktop support" will remain unchanged.

Use Leading and Trailing Spaces

Both the Find and Replace with fields honor spaces placed before and after a word (also known as leading and trailing spaces). It may be necessary to add a leading and trailing space to the words in both fields to prevent unintended replacements. For example, let's say your document contains the word "string" and you want to replace with "sequence".

The image below shows the terms string and sequence without leading or trailing spaces. The Find & Replace function is looking for *exactly* those two values.

"string" is in the Find field and "sequence" is in the Replace with field.

To be more specific:

  • Leading and trailing spaces prevent the unintentional replacement of words like hamstring, stringently, astringent into hamsequence, sequenceently, asequenceent.

  • Leading and trailing spaces prevent other unintentional replacements of words in an image names. An image named string_data_types.jpg, would unintentionally be changed to sequence_data_types.jpg. The unintentional image name change would point to an incorrect image name and yield a broken link.

    The image below is deliberately showing a broken link of an image name that was unintentionally changed to sequence_data_types.

    A malfunctioning image.

The image below shows the terms string and sequence with a leading space before and a trailing space after each term. The Find & Replace function is looking for *exactly* this value.

A space has been added in front of "string" and "sequence".
  • Leading and trailing spaces will direct the Find & Replace to ignore words like hamstring, stringently, astringent.

  • Leading and trailing spaces will also prevent other unintentional replacements of words in image names. The word "string" in the image named string_data_types.jpg, would be ignored, leaving the image intact.

    The image below show the string_data_types.jpg image that was not touched by the Find & Replace performed on a set of documents.

    The image is properly displayed.

Running the Find function Independently from the Replace

To minimize the chance of making unplanned changes in all of your documents, you can use the Find function to filter documents down to a very specific subset. Then use the Replace function just on that subset of documents.

Example: When replacing a term like “matrix” with “tree” in the context of a Topics tree, it may be tempting to run a broad search across all fields in all documents. However, doing so risks unintentionally changing content in documents that have nothing to do with Topics.


The image below shows a broad Replace criteria as all the fields; Title, Keywords, Summary, Body, InternalNote, FeedbkTo and JavaScript/CSS are enabled.

All of the In fields checkboxes are enabled. "matrix" is in the Find field and "tree" is in the Replace with field.

Instead, it is recommended that you isolate a subset of relevant documents and then use the Find & Replace on very specific fields. In the image below, I looked up all the documents with "Topics Tab" in the title. The search yielded five documents.

"Topics Tab" is in the Find field. Title checkbox is enabled. 4 docIDs are listed in the IncludeDoc IDs field. 4 docs appear in the results

With a specific subset of documents selected, enter “ matrix ” (including leading and trailing spaces) in the Find field and “ tree ” in the Replace field. Deselect the Title checkbox and select Body to ensure the change applies only to document content. Document IDs can be added or removed as needed. Once the settings are confirmed, the Replace All action can be used confidently.

"matrix" in the Find field-"tree" in the Replace with field. The body checkbox enabled. Four docIDs listed in Include doc IDs only field



Keywords:
kb knowledge base knowledgebase users guide drafts tab find replace text gray grey publish find search substitute locate scan match fields include doc IDs only exclude doc ID 
Doc ID:
5247
Owned by:
Leah S. in KB User's Guide
Created:
2007-01-04
Updated:
2026-06-29
Sites:
KB Demo, KB Demo - Child Demo KB, KB User's Guide