7. Find and Replace Text
3 Open an Existing Document 5 Edit Text 6 Move Around a Document 12 Apply Character Formatting
[View full size image]
1. | Find Text Select the Find & Replace option from the Edit menu to display the Find & Replace dialog box. You can also click the Find & Replace toolbar button or press Ctrl+F to display the Find & Replace dialog box. Click the More Options button to display all the Search options available in this dialog box. |
2. | Enter Search Text Type the text you want to find in the Search for text box.Regular expressions option if you want to perform a wildcard search using OpenOffice.org's regular expressions . Table 2.3 describes some of the more common regular expressions you may use in the Search for text box and gives an example of each. KEY TERMSWildcard search Allows you to use wildcard characters, such as *, to replace characters in a search.Regular expressions The name given to OpenOffice.org's extensive wildcard character support; OpenOffice.org supports far more wildcard characters than most Windows programs. |
9. | Search for Formatted Text If you want to search only for certain text values that are formatted in a particular way, such as all italicized instances of Mill Run but not boldfaced instances of Mill Run, you can do so by clicking the Format button to display the Text Format (Search) dialog box. |
10. | Specify a Font to Find Select the font name, typeface, and size that the text must match before being considered found. |
11. | Search for a Font Effect If you want to further refine your search to a specific font color or effect, click the Font Effects tab to display a page with those attributes you can look for. |
12. | Choose a Font Effect Select the font effect you want to find. If the matching text also matches the font effects you select (as well as any font name and size you may have selected in step 10), Writer considers the match to be successful and highlights the found text. NOTEClick the tabs on the other pages within the Text Format (Search) dialog box to see the other refinements you can make when searching and replacing text. You can even specify the background color that must appear behind any matching text before the text is to be considered a match.When you finish finding and replacing all the text for this search session, click the Find & Replace dialog box's Close button to close the dialog box and return to the document's work area. |