Search and Replace function

To search for the required characters, words or phrases used in the currently edited document, click the search icon icon situated on the left sidebar of the Document Editor, the search icon header icon situated in the upper right corner, or use the Ctrl+F (Command+F for macOS) key combination to open the small Find panel or the Ctrl+H key combination to open the full Find panel.

A small Find panel will open in the upper right corner of the working area. The panel includes the text field for typing in a search query, the number of search results, and controls for moving to the previous or the next result, and closing the bar.

Find small panel

To access the advanced settings, click the search advanced icon or use the Ctrl+H key combination.

The Find and replace panel will open:

Find and Replace Window

  1. Type in your inquiry into the corresponding Find data entry field.
  2. If you need to replace one or more occurrences of the found characters, type in the replacement text into the corresponding Replace with data entry field. You can choose to replace a single currently highlighted occurrence or replace all occurrences by clicking the corresponding Replace and Replace All buttons. The replace icon Replace button can also be found on the Home tab.
  3. To navigate between the found occurrences, click one of the arrow buttons. The search down button button shows the next occurrence, while the search up button button shows the previous one.
  4. Specify search parameters by checking the necessary options below the entry fields:
    • Case sensitive - is used to find only the occurrences typed in the same case as your inquiry (e.g., if your inquiry is 'Editor' and this option is selected, such words as 'editor' or 'EDITOR', etc. will not be found).
    • Whole words only - is used to highlight only whole words.

All occurrences will be highlighted in the file and shown as a list in the Find panel to the left. Use the list to skip to the required occurrence, or use the navigation search up button and search down button buttons.

The Document Editor supports search for special characters. To find a special character, enter it into the search box.

The list of special characters that can be used in searches
Special characterDescription
^lLine break
^tTab stop
^?Any symbol
^#Any digit
^$Any letter
^nColumn break
^eEndnote
^fFootnote
^gGraphic element
^mPage break
^~Non-breaking hyphen
^sNon-breaking space
^^Escaping the caret itself
^wAny space
^+Em dash
^=En dash
^yAny dash
Special characters that may be used for replacement too:
Special characterDescription
^lLine break
^tTab stop
^nColumn break
^mPage break
^~Non-breaking hyphen
^sNon-breaking space
^+Em dash
^=En dash

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags