Text find and replace

<< Click to Display Table of Contents >>

Navigation:  Reference Manual > Windows and dialog boxes > Text find and replace >

Text find and replace

From the Main window menu use [Edit] [Text find and replace].  The entries to be scanned can be selected first.

This is used to make global searches and replacements to entry texts.

It is possible to restrict the find and replace to one or more of these main text types:

Entry texts

Interviewer instructions

Response texts

Base texts

Text searches are normally case sensitive.  There is a check box to [Ignore case in search pattern].

Regular expression

You can choose:

Simple (not regular expression) - search for a group of characters and replace them with another group of characters

Regular expression - search and replace using a regular expression and substitute texts

For notes on how to use regular expressions here, see Definitions, Regular expressions find and Regular expressions replace.

Preview changes

This scans the chosen texts for entries currently selected on the main window and displays all texts found that contains the search pattern.  The display shows the text with the replacements.

IMPORTANT: you must have a replacement string (which can be the same as the search string) in order to see the locations of the found text.

Text replace

This replaces all the texts containing the search string with the replacement string.  A display of all the changed texts is shown.  The number of entries and responses changed is shown at the end.