Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Replace

Edits the replacement table for automatically correcting or replacing words or abbreviations in your document.

To enable the replacement table, choose Tools - AutoCorrect - AutoCorrect Options, click the Options tab, and then select Use replacement table. To use the replacement table while you type, check Tools - AutoCorrect - While Typing.

To access this command...

Choose Tools - AutoCorrect - AutoCorrect Options - Replace tab.

Replacements and exceptions for language:

Select the language for which you want to create or edit the replacement rules. Office first searches for exceptions that are defined for the language at the current cursor position in the document, and then searches the remaining languages.

Replacement table

Lists the entries for automatically replacing words, abbreviations or word parts while you type. To add an entry, enter text in the Replace and With boxes, and then click New. To edit an entry, select it, change the text in the With box, and then click Replace. To delete an entry, select it, and then click Delete.

You can use the AutoCorrect feature to apply a specific character format to a word, abbreviation or a word part. Select the formatted text in your document, open this dialogue box, clear the Text only box, and then enter the text that you want to replace in the Replace box.

You can also include frames, graphics and OLE objects in an AutoCorrect entry, so long as they are anchored as characters in the text. Select the frame, graphic or OLE object and at least one text character in front of and behind the object. Open this dialogue box, type a name for this AutoCorrect entry in the Replace box, and then click New.

Replace

Enter the word, abbreviation or word part that you want to replace while you type.

The wildcard character sequence .* can match anything before or after the replace string. For example:

  • Having the replace pattern i18n.* and the with pattern international, the following corrections are made:
Enter Autocorrected Result
i18ns internationals
i18nization internationalization
i18nised internationalised
  • The replace pattern ....* with the replacement text … finds and replaces the three dots in ...word with …word.

To enter time values using the number pad, use the replace pattern .*...* and : as the replacement text. Now 10..30 is replaced automatically with 10:30.

With:

Enter the replacement text, graphic, frame, or OLE object that you want to replace the text in the Replace box. If you have selected text, a graphic, a frame, or an OLE object in your document, the relevant information is already entered here.

Text only

Saves the entry in the With box without formatting. When the replacement is made, the text uses the same format as the document text.

New

Adds or replaces an entry in the replacement table.

Delete

Deletes the selected element or elements without requiring confirmation.

Dialog Buttons

Reset

Resets modified values back to the tab page previous values.

Cancel

Closes dialogue box and discards all changes.

OK

Saves all changes and closes dialogue box.