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).
  1. Choose Edit -> Find & Replace.
  2. Press the More Options button.
  3. Tick the Regular Expressions.
  4. In the Search for box, enter each search word separated by pipe (|), for example, potato|carrot|cucumber.
  5. Press Find All.

Keine Kommentare: