Find and replace text in a project
Use the
Replace All
option in the Find and Replace
dialog box to replace all values for all of the properties that match search criteria simultaneously. To find and replace values in a project
- PressCTRL+F. TheFind and Replacedialog box opens.
- In theFind whatbox, type the text to find or select the text of a previous search.TIP:Search text can contain alphanumeric characters and can contain full words, fragments of a word, or a single letter or number.
- In theReplace Withbox, type the replacement text, or select the text of a previous replace operation.
- In theFind wherebox, select the scope of the search.
- Entire Project. Search the entire open project.
- Current Tab. Search the open screen, popup, data log, or definition of an Add-On Graphic.
- Selected Graphic Elements.Search the selected graphic elements on the open screen, popup, or definition of an Add-On Graphic.
- (optional) Narrow the search scope by selecting the following:
- Match case
- Find whole words only
- SelectReplace All.IMPORTANT:
- Invalid replace operations appear in theReplacedsection of theFind Resultswindow. These changes are not made. Replace operations are considered invalid when the item is Read-Only or a tag value is invalid.
- The Find All operation may report more occurrences of an alias property value found than the Replace All operation reports. This is because the Find All operation reports all instances of an alias property value it finds. The Replace All operation reports and replaces only the first instance of the alias property value it finds. Other instances are linked to the first instance and are updated automatically within the software, not by the Replace All operation.
- The Replace All operation may report more occurrences replaced than the Find All operation reports found. This is because the Find All operation reports the number of places, such as an expression or State Table, in which it finds the item. The Replace All operation reports the number of instances of the item it replaces. Therefore, a Find and Replace operation that finds multiples of the same string in an expression reports one location found, but multiple instances replaced.
- To stop the Find and Replace operation, underClose, selectStop Find. TheStop Findbutton appears briefly and only during the current find and replace operation. Closing theFind and Replacedialog does not stop the find and replace operation. It continues to run in the background.
TIP:
Tips:
- To navigate to an entry in theFind Resultswindow, double-click the entry.
- To replace a single instance of an entry, navigate to the entry and manually make the necessary changes.
Provide Feedback