Did you find this page useful? Give us feedback.
Did you find the information
on this page useful?

Yes
Somewhat
No
  Tell us more about your choice:
Missing information
Incorrect information
Misleading information
I have a question
Other
  Enter your comment in the box below.
If you need assistance, please contact Support instead.

  Type the letters
simple PHP captcha
 

In the Find and replace dialog in a corpus, you can search for words or expressions in a corpus document (monolingual as well as bilingual). You can replace words or expressions with a specified text.

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

How to begin

You can invoke the Find and replace dialog when you open a document in a corpus, by choosing Find or Replace on the Preparation or Edit ribbon tab. Alternatively, you can press Ctrl+F for Find, or Ctrl+H for Replace.

Use

Find what: Use this drop-down list to enter the text you are looking for.

Note: The Find what text field is a drop-down list where the previous texts you entered are retained until you quit memoQ.

Regular expressions: You can type regular expressions in the Find what box, but you need to check the Use regular expressions check box. If there is a problem with the regular expression, memoQ will display an exclamation mark next to the Find what box when you click one of the Find buttons. For more information, click the exclamation mark: it will display help on regular expressions.

Replace with: Use this drop-down list to enter the text with which you want the text entered into the drop-down list labeled Find what to be replaced.

Note: The Replace with text field is a drop-down list where the previous texts you entered are retained until you quit memoQ.

Regular expressions: If you search for regular expressions, you can include the matching variables in the Replace box, too. Type $1 for the first recognized chunk; $2 for the second one; and so on.

View section:

Replace: Check this check box if you want not only to look for a text but to replace it with another one. Uncheck this check box if you only want to look for a text.

Note: The Scope section is not available for Find and replace in a corpus document. The Scope check box is greyed out.

Segment section:

Source: Select this radio button if you want to search or replace text on the source side.

Target: Select this radio button if you want to search or replace text on the target side.

Both: Select this radio button if you want to search or replace text on both the source and on the target side.

 

Options section:

Only whole words: Select this radio button to mark only whole words as matches (substring matches are ignored).

Match case: Check this check box to run a case-sensitive search. If checked, the replace expression is always inserted without adjustment.

Wrap around: Check this check box to continue searching from the beginning of the document until the starting point of the search is reached, if no more occurrences are found.

Never spoil formatting: Check this check box to pay attention on cases where a formatting tag or an inline tag is in the middle of a match or either of the bold/italic/underlined formatting types is not uniform throughout the whole match. If you click Replace, a message box requiring confirmation is displayed, while if you click Replace all, memoQ skips the affected matches and displays a warning.

Use regular expressions: Check this check box before you write up a regular expression in the Find what box. This allows much greater flexibility when searching for variable text. When you look for variable text chunks in the Find what box, you can use them in the Replace text by typing $1 for the first variable chunk, $2 for the second, and so on.

Buttons

Find next: Click this button to look for the text entered into the Find what drop-down list or to jump to the next occurrence.

Replace: Click this button to replace the current occurrence of the text entered into the Find what drop-down list with the text entered into the Replace with drop-down list. Make sure the check box labeled Replace is checked.

Replace all: Click this button to replace all the occurrences.

Navigation

After you finish searching/replacing, click Close to close the dialog.