- Choose Edit -> Find & Replace.
- Press the More Options button.
- Tick the Regular Expressions.
- In the Search for box, enter each search word separated by pipe (|), for example, potato|carrot|cucumber.
- Press Find All.
5. März 2007
Regular expression search in Writer
Say, you need to find and highlight all occurrences of words "potato", "carrot", and "cucumber" in the current Writer document. You can do this using the following search technique (Source: OpenOffice.org Forum).