Quick Replace
When all search options are defined, choose to find the next instance of the required string or expression within the specified scope, then replace individual or all instances of searched items.
Replace option | Description | Procedure |
---|---|---|
Find what | String or expression to find within the open document. | Type the required string or expression in the field, select one of the last twenty searches from the Find what drop-down combo box, and use regular expressions in searches. |
Replace with | String or expression that will replace each match found. | Type the required string or expression in the field provided, or select one of the last twenty items entered using the drop-down combo box. Delete matches found by leaving the Replace with field empty. Use regular expressions in the Replace with field. |
Look in | Scope for the search. | Select the required scope from the Look in drop-down combo box. |
Find options | Options to refine the search. | Search for case sensitive matches using Match Case . Disregard partial word matches by selecting Match whole word . Include regular expressions by selecting Use Regular Expressions . Also define the file types to search in the Look at these file types text box. |
Result options | Options for search results. | Choose to display the results in the Find results 1 window or Find results 2 window . Choose to display only file names in the search results by selecting Display file names only . |
Task | Procedure |
---|---|
Replace a string or expression in a file | Perform replacements for a selected program organization unit (POU) body.
|
Use regular expressions when replacing strings or expressions |
|
Provide Feedback