Contents
Index 🔎︎
\<bookmark_value\>finding; text/text formats/styles/objects\</bookmark_value\>\<bookmark_value\>replacing; text and text formats\</bookmark_value\>\<bookmark_value\>styles;finding\</bookmark_value\>\<bookmark_value\>searching, see also finding\</bookmark_value\>\<bookmark_value\>text formats; finding\</bookmark_value\>\<bookmark_value\>formats; finding and replacing\</bookmark_value\>\<bookmark_value\>searching; formats\</bookmark_value\>\<bookmark_value\>objects;finding by Navigator\</bookmark_value\>\<bookmark_value\>Asian languages;search options\</bookmark_value\>

# Finding and Replacing in Writer

In text documents you can find words, formatting, styles, and more. You can navigate from one result to the next, or you can highlight all results at once, then apply another format or replace the words by other text.

## The Find & Replace dialog

To find text within the whole document, open the Find & Replace dialog without any active text selection. If you want to search only a part of your document, first select that part of text, then open the Find & Replace dialog.

### Finding text

1. Choose \<emph\>Edit - Find & Replace\</emph\> to open the Find & Replace dialog.

2. Enter the text to find in the Find text box.

3. Either click \<emph\>Find\</emph\> or \<emph\>Find All\</emph\>.

When you click \<emph\>Find\</emph\>, Writer will show you the next text that is equal to your entry. You can watch and edit the text, then click \<emph\>Find\</emph\> again to advance to the next found text.

If you closed the dialog, you can press a key combination (Ctrl+Shift+F) to find the next text without opening the dialog.

Alternatively, you can use the icons at the lower right of the document to navigate to the next text or to any other object in the document.

When you click \<emph\>Find All\</emph\>, Writer selects all text that is equal to your entry. Now you can for example set all found text to bold, or apply a Character Style to all at once.

### Replacing text

Unlike searching text, replacing text cannot be restricted to the current selection only.

1. Choose Edit - Find & Replace to open the Find & Replace dialog.

2. Enter the text to search in the Find text box.

3. Enter the text to replace the found text in the \<emph\>Replace with\</emph\> text box.

4. Either click \<emph\>Replace\</emph\> or \<emph\>Replace All\</emph\>.

When you click Replace, Writer will search the whole document for the text in the Find box, starting at the current cursor position. When text is found, Writer highlights the text and waits for your response. Click Replace to replace the highlighted text in the document with the text in the Replace text box. Click Find Next to advance to the next found text without replacing the current selection.

When you click \<emph\>Replace All\</emph\>, Writer replaces all text that matches your entry.

### Finding styles

You want to find all text in your document to which a certain Paragraph Style is assigned, for example the "Heading 2" style.

1. Choose Edit - Find & Replace to open the Find & Replace dialog.

2. Click Other options to expand the dialog.

3. Check Paragraph Styles.
   The Find text box now is a list box, where you can select any of the Paragraph Styles that are applied in the current document.

4. Select the style to search for, then click \<emph\>Find\</emph\> or \<emph\>Find All\</emph\>.

### Finding formats

You want to find all text in your document to which a certain direct character formatting is assigned.

Finding formats only finds direct character attributes, it does not find attributes applied as part of a style.

1. Choose Edit - Find & Replace to open the Find & Replace dialog.

2. Click \<emph\>More Options\</emph\> to expand the dialog.

3. Click the \<emph\>Format\</emph\> button.

5. Click \<emph\>Find\</emph\> or \<emph\>Find All\</emph\>.

### More options

The similarity search can find text that is almost the same as your search text. You can set the number of characters that are allowed to differ.

Check the \<emph\>Similarity search\</emph\> option and optionally click the \<emph\>...\</emph\> button to change the settings. (Setting all three numbers to 1 works fine for english text.)

When you have enabled Asian language support under LibreOffice - PreferencesTools - Options - Language Settings - Languages, the Find & Replace dialog offers options to search Asian text.

## The Navigator

The Navigator is the main tool for finding and selecting objects. You can also use the Navigator to move and arrange chapters, providing an outline view to your document.

Choose \<emph\>Edit - Navigator\</emph\> to open the Navigator window.

Use the Navigator for inserting objects, links and references within the same document or from other open documents. See the Navigator guide for more information.

Click the icon with the blue circle at the bottom right part of your document to open the small \<emph\>Navigation\</emph\> window.

Use the small Navigation window to quickly jump to the next object or search text in your document.

נושאים קשורים

Navigator for Text Documents

Using Regular Expressions in Text Searches

Searching for Attributes

List of Regular Expressions

Removing Line Breaks

Finding and Replacing in Calc