2) To replace the text with different text, type the new text in the
3) You can select various options, such as matching the case,
matching whole words only, or doing a search for similar words.
(See below for some other choices.)
4) When you have set up your search, click Find. To replace text,
click Replace instead.
If you click Find All, Writer selects all instances of the search
text in the document. Similarly, if you click Replace All
button, Writer replaces all matches.
Use Replace All with caution; otherwise, you may end up with
some hilarious (and highly embarrassing) mistakes. A mistake
with Replace All might require a manual, word-by-word
search to fix, if not discovered in time to undo.
Use wildcards (regular expressions)
(also known as
) are combinations of
characters that instruct OOo how to search for something. Regular
expressions are very powerful but not very intuitive. They can save
time and effort by combining multiple finds into one.
Table 1 shows a few of the regular expressions used by OOo.
The online help describes many more regular expressions and
One of the most common mistakes when using regular
expressions is to try to search for a character that is defined as
a wildcard, such as brackets or dots. If you need to search for
such a character, type a backslash (\) before it. This instructs
OOo to treat the character following the backslash as a normal
character. For example, to find the text $5.00 ($ and . are
wildcard characters), you would conduct a search using \
To use wildcards and regular expressions when searching and
1) On the Find & Replace dialog box, click More Options to see
more choices. On this expanded dialog box (Error: Reference
source not found), select the Regular expressions option.
Working with Text