# File Search

In the Search Dialog, the File Search tab allows you to search for files or text in the Workbench. You can bring up the Search Dialog by clicking on the Search toolbar button.

## Containing Text

Type the expression for which you wish to do the text search. Leave this field empty to search for files.

From the drop-down menu, you can choose to repeat or modify a recent search.

### Wildcards

The available wildcards for search expressions are displayed in the search dialog:

- "*" matches any set of characters, including the empty string
- "?" matches for any character
- "\" is the escape for a literal; if you want to search for an asterisk, question mark, or backslash character, type a backslash before it to indicate that you are not using these characters as wildcards (e.g., "\*", "\?", or "\\")

## File Name Patterns

In this field, enter all the file name patterns for the files to find or search through for the specified expression.

### Wildcards

The available wildcards for file name patterns are displayed in the search dialog:

- "*" matches any set of characters, including the empty string
- "?" matches for any character
- "!" excludes the given file name pattern, e.g. "!*.html or !plugin.xml

## Case Sensitive

Turn this option on if you want the text search to be case sensitive.

## Regular Expression

Turn this option on to specify that the search text is a regular expression.

## Whole Word

Turn this option on if you want to search for whole words that are identical to the search text.

## Scope

Choose the scope of your search. You can either search the whole workspace, pre-defined working sets, previously selected resources or projects enclosing the selected resources.

# Quick Text Search

As an alternative to the Search Dialog and Search View, you can also use the Quick Text Search Dialog to search for textual matches in the workspace and quickly jump to them. It is described in detail here.

### Related Concepts

Search view
Quick Text Search Dialog

### Related Tasks

Searching for files
Searching for text within a file

### Related Reference

Search view