Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Finding and replacing text
 
Finding and replacing text
Use the Find and Replace panes to find and replace text in your scripts. You can open these panes from the UNICOM Intelligence Professional Edit menu or by pressing Ctrl+F to open the Find pane and Ctrl+H to open the Replace pane.
To find what you are looking for, you can use the advanced options that are described in this topic. To search for patterns of text, see Using regular expressions to find text.
Searching multiple scripts
To search for a text string in all your open scripts, open the Find pane, enter a search string, and select All open documents before clicking Find Next.
Listing all occurrences of a text string
To display a list of the lines in your script that contain the text you are looking for, open the Find pane, enter the search string and click Find All. The Find Results pane opens. It displays a list of the lines that contain one or more occurrences of the string. Double-click a line to display the corresponding line in the Edit pane and highlight the first occurrence of the string. To display each line in turn, click Goto Next.
If you select All open documents before clicking Find All, the search results include all your open scripts. The “File” and “Location” columns in the Find Results pane show you in which script the string was found.
Bookmarking all occurrences of a text string
To add a bookmark to every line that contains the text you are looking for, enter a search string, and click Mark All. A bookmark is inserted on every line that contains the string. If a line already contained a bookmark, the bookmark is removed. To add bookmarks to all your open scripts, select All open documents before clicking Mark All.
For more information about bookmarks, see Using bookmarks.
See also
Using regular expressions to find text
Using UNICOM Intelligence Professional