# Replace in Projects Dialog

This dialog searches projects for instances of specified text or a regular expression and replaces those instances with another specified text.

This dialog contains the following fields:

Element | Description
--- | ---
Containing Text | In this field, type or paste the text or regular expression. Click the down arrow for a drop-down list of previously used search expressions.
Match Case | Search only for instances of the text or expression that match the exact upper and lower case characters entered in the Containing Text field.
Preserve Case When Replacing | If Match Case is not selected, click this to preserve upper and lower case characters when replacing text.
Whole Words | Search only for whole words. Ignore longer words that are made up in part of the text in the Containing Text field
Regular Expression | Indicates that the entry in the containing text field is a regular expression. Click test, and another search dialog opens where you can search for one text pattern.
Replace With... | Text that should replace the contents of the Containing Text field. Click the down arrow for a drop-down list of previously used replacement texts.
Scope | The scope of projects to search. You can either search the projects you selected in the Projects window or all open projects.
File Name Pattern | The pattern of file names, such as *.html, to search through.
Use Ignore List | Use a list of files to ignore when performing the search. Click edit to open a dialog where you can add or remove files and file paths from the ignore list.
Regular Expression | Indicates that the entry in the file name pattern field is a regular expression.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.