After entering the search content in the search box of the navigation pane, the system will automatically search for the content in the current document, display the location and quantity information found in the navigation pane, and highlight the found content in the workspace.
Select the Replace command from the search items in the Start ribbon, enter the content to be replaced in the Search Content list box, and type the content to be replaced in the Replace With list box.
After clicking the Replace button, the first document content that matches the search content will be replaced. If you want to replace all parts of the document that match your search, just click the Replace All button.
I hope it can help you solve the problem.