When you're working on a translation, use the Find and replace command to search for and replace 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 document for editing: Open a project. In Project home, choose Translations. Double-click the name of the document.

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.

The Find and replace window opens.

You can start Find and replace directly from Project home: In Translations, do not open a document. Instead, just press Ctrl+H or Ctrl+F. When you do this, memoQ assumes that you want to run Find and replace on several documents, not just one. The Find and replace window opens with scope selection (see the second screenshot).

Find-and-replace

At first

Find-and-replace-with-scope

With scope selection

What can you do?

1. In the Find what box, tell memoQ what you look for

To search inside inline tags: Check the Expand tags to text check box. Then you can look for tags like this: '<mq:ch>'.

2. In the Replace with box, type or choose the replacement text

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

5. Find text in several documents, not just in one: Scope selection

After you enter the text to search for - and, optionally, the replacement -, you can go through the document, 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.

To go through occurrences after you search through several documents: Check the List results check box, then click Mark all. memoQ searches all the specified documents and segments, then displays a list of results on a separate document tab. This is best if you ran the search on many documents: It would take a lot of time to open all documents in the translation editor. After the list opens, memOQ closes the Find and replace window.

After finding and replacing, you can enter new Find what and Replace with expressions, and go over the document once again. (Except after listing the results - you need to go back to the translation editor or to Translations, and open Find and replace again.)

When you finish

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