Command Reference — Search category — Replace command

# Replace command

## Summary

Replaces a string.

## Description

Replaces a specified string with another specified string. This command displays the Replace dialog box. Specifying a string to find, a string to replace with, and other options will start replacing the specified string.

## How to Run

- Default Menu: Search > Replace

- All Commands: Search > Replace

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: CTRL+H

## Plug-in Command ID

    EEID_EDIT_REPLACE (4201)

## Macros

## [JavaScript]

    editor.ExecuteCommandByID(4201);

## [VBScript]

    editor.ExecuteCommandByID 4201