This is the Find and replace window when you view or edit a translation memory. You can search for words or expressions in the source or the target segments. You can replace words or expressions with other text.

Regular expressions: You can use regular expressions in the Find what box, and replace rules (variables) in the Replace with box.

How to get here

1.Open a translation memory for editing:

Open a project. In Project home, choose Translation memories. Click the name of the translation memory you want to edit. On the Translation memories ribbon, click Edit.

Or: Open the Resource Console. Choose Translation memories. Right-click the name of the translation memory you want to edit. From the menu, choose Edit.

2.Press Ctrl+H. The Find and replace window opens. Or, to just find something, press Ctrl+F. The Find and replace window opens, but the Replace with box will be greyed out.

Or: On the Edit ribbon, click Find or click Replace.

Find-and-replace-in-a-TM

What can you do?

1.Tell memoQ what you look for: In the Find what drop-down box, type the text you are looking for. Or, expand the drop-down list, and choose an expression from previous searches. (When you close memoQ, this list is cleared.)

2.Choose to replace text: Check the Replace check box (if it isn't checked already). In the Replace with drop-down box, type the text that will replace the Find what text. Or, expand the drop-down list, and choose an expression from previous replacements. (When you close memoQ, this list is cleared.)

3. Choose where to look: in the source text, in the translation, or in both

4. Choose how to search: look for whole words only, start over at the beginning, and keep formatting when replacing

After you enter the text to search for - and, optionally, the replacement -, you can go through the translation memory, and decide what happens to the text that memoQ finds.

To jump to the first or the next occurrence: Click Find next. memoQ jumps to the nearest segment where the Find what text occurs, and highlights the text.

The Find and replace window stays open. You can even click the segment, make changes, and then return to the Find and replace window.

To replace the latest occurrence that memoQ found: Click Replace. memoQ replaces the occurrence with the Replace with text. Then it jumps to the next occurrence, and highlights it. The Find and Replace window stays open.

To replace all occurrences in the open document: Click Replace All. memoQ replaces every occurrence of the Find what text with the Replace with text. memoQ counts the occurrences, and shows the number on the right. When memoQ finishes replacing, it announces the result in the Find/Replace message box. To return to the Find and Replace window: Click OK. The Find and replace window stays open.

After finding and replacing, you can enter new Find what and Replace with expressions, and go over the translation memory once again.

When you finish

To close the Find and replace window, and go back to the translation memory editor: click Close.