Udostępnij za pośrednictwem


Finding and Replacing

The Find and Replace Window allows you to search in one or more open files within various search scopes, to make text substitutions if you wish, and to review your search results in report format. You can also search without a dialog box by using incremental search or the Find/Command Box.

Consider the following information when searching or replacing text and code:

  • The Look in, Find, and Result options set in the Find and Replace window are global. This means they persist from one search to the next. For example, once you select the Match case option on the Quick Replace tab of the Find and Replace window, it remains set to true for all searches until you reset it.

  • After a Replace All operation, you can only use Undo on files that remain open for editing. To ensure that Undo will be available, select the Keep modified files open after Replace All option on the Replace in Files tab of the Find and Replace window.

  • Find in Files and Replace in Files operations do not search documents open in graphical or design views, such as Design view in the HTML Designer. Switch to Source view before attempting these operations on the markup of documents open in such graphic designers.

In This Section