# Search and Replace

The "Search and Replace" window allows you to set up convenient searches and perform replacements of diagram blocks or the entire project. You can also open the "Search and Replace" window using the keyboard shortcut Ctrl+F.

Searching is done in the **"Find" tab**.

<table data-header-hidden><thead><tr><th width="59"></th><th width="209"></th><th width="356"></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Interface Element</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>field "Find:"</td><td>Allows you to specify what exactly needs to be found.</td></tr><tr><td>2.</td><td>Search area:</td><td>Allows you to specify where to search.</td></tr><tr><td>2.1.</td><td>checkbox "Name/ID/Block Comment"</td><td>Allows you to search by block name, its ID, or comment.</td></tr><tr><td>2.2.</td><td>checkbox "Variable Name"</td><td>Allows you to search by variable name.</td></tr><tr><td>2.3.</td><td>checkbox "Block Property"</td><td>Allows you to search by block property.</td></tr><tr><td>2.4.</td><td>checkbox "Default Variable Value"</td><td>Allows you to search by variable value.</td></tr><tr><td>2.5.</td><td>checkbox "Selector"</td><td>Allows you to search by selector.</td></tr><tr><td>2.6.</td><td>checkbox "Original Block Name"</td><td>Allows you to search by the original block name.</td></tr><tr><td>3.</td><td>Where to search:</td><td>Allows you to specify where to search.</td></tr><tr><td>3.1</td><td>checkbox "Current Diagram"</td><td>Allows you to search within the current diagram.</td></tr><tr><td>3.2.</td><td>checkbox "Entire Project"</td><td>Allows you to search within the entire project.</td></tr><tr><td>4.</td><td>checkbox "Case Sensitive"</td><td>Allows you to enable case sensitivity in the search.</td></tr><tr><td>5.</td><td>checkbox "Whole Words Only"</td><td>Allows you to enable searching for whole words only.</td></tr><tr><td>6.</td><td>button "Find All"</td><td>Allows you to find all blocks with matching parameters.</td></tr><tr><td>7.</td><td>button "Find Next"</td><td>Allows you to go to the next block with matching parameters.</td></tr><tr><td>8.</td><td>button "Close"</td><td>Allows you to close the "Search and Replace" window.</td></tr></tbody></table>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeV_URh_Hbzg0m8KRLEmINVbD3ZSziwPIaZzfwBl8a887aSpdjqgn-I3PefhZ9or00oXoi-K8wiB2nOfXh99Y2lcBHmr3XnGUupJ8sAKUVqPA27adnS_J4qAUGJ1Y_OL2tnCgu0EPhu8HfDjmckpGb0g-g?key=hkb4d-2cPaGQ51ygcyhvzQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-1ba412ed3c2eaf6800bb404898665ed7640d888f%2Fimage%20(42).png?alt=media" alt=""><figcaption></figcaption></figure>

Replacement is done in the **"Replace" tab**.

<table data-header-hidden><thead><tr><th width="54"></th><th width="261"></th><th width="343"></th></tr></thead><tbody><tr><td><strong>No.</strong></td><td><strong>Interface Element</strong></td><td><strong>Description</strong></td></tr><tr><td>1.</td><td>field "Find:"</td><td>Allows you to specify what exactly needs to be found for replacement.</td></tr><tr><td>2.</td><td>field "Replace with:"</td><td>Allows you to specify what to replace with.</td></tr><tr><td>3.</td><td>Search area:</td><td>Allows you to specify where to search.</td></tr><tr><td>3.1.</td><td>checkbox "Name/ID/Block Comment"</td><td>Allows you to search by block name, its ID, or comment.</td></tr><tr><td>3.2.</td><td>checkbox "Variable Name"</td><td>Allows you to search by variable name.</td></tr><tr><td>3.3.</td><td>checkbox "Block Property"</td><td>Allows you to search by block property.</td></tr><tr><td>3.4.</td><td>checkbox "Default Variable Value"</td><td>Allows you to search by variable value.</td></tr><tr><td>3.5.</td><td>checkbox "Selector"</td><td>Allows you to search by selector.</td></tr><tr><td>4.</td><td>Where to search:</td><td>Allows you to specify where to search.</td></tr><tr><td>4.1</td><td>checkbox "Current Diagram"</td><td>Allows you to search within the current diagram.</td></tr><tr><td>4.2.</td><td>checkbox "Entire Project"</td><td>Allows you to search within the entire project.</td></tr><tr><td>5.</td><td>checkbox "Case Sensitive"</td><td>Allows you to enable case sensitivity in the search.</td></tr><tr><td>6.</td><td>checkbox "Whole Words Only"</td><td>Allows you to enable searching for whole words only.</td></tr><tr><td>7.</td><td>button "Replace All"</td><td>Allows you to replace all blocks with matching parameters.</td></tr><tr><td>8.</td><td>button "Replace"</td><td>Allows you to replace the selected block with matching parameters.</td></tr><tr><td>9.</td><td>button "Find Next"</td><td>Allows you to go to the next block with matching parameters.</td></tr><tr><td>10.</td><td>button "Close"</td><td>Allows you to close the "Search and Replace" window.</td></tr></tbody></table>

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-d6d9e878bff7f3d997023d60548def30dea14940%2Fimage%20(43).png?alt=media" alt=""><figcaption></figcaption></figure>
