---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.com/support/direct-commander-new/en/editing/find-replace.md
  - https://yandex.com/support/direct-commander-new/ru/editing/find-replace.md
keywords:
  - f
  - i
  - 'n'
  - d
  - ' '
  - a
  - r
  - e
  - p
  - l
  - c
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/direct-commander-new/en/llms.txt


# How to find and replace text

The find and replace tool lets you quickly edit multiple objects at once.

#|
||
![](../_assets/video-icon.png)
|
Video tutorial. Find and replace

{% cut "Watch video" %}

@[](https://runtime.strm.yandex.ru/player/video/vplvbeao2g4ggxhkhs66?autoplay=0&branding=0&from=documentation&mute=0&redirect_from=ugc)

{% endcut %}

![](../_assets/hspace.png)
||
|#

#### **Example: replace text and a link in multiple ads**

You can create a copy of a campaign for another region, and then replace the ad text. For example, you can substitute "in London" with "in New York", and change the link "london.domain.com" to "ny.domain.com".

#### **Example: add UTM tags to ad links**

You can select all ads and append UTM tags to all links.

![](../_assets/replace-utm.png =650x)

<!-- source: en/_includes/editing/inspector/id-inspector/download-multiple-campaign-warning.md -->
{% note tip %}

Before making any changes, [download](https://yandex.com/support/direct-commander-new/en/general/download.md#sync-campaign) up-to-date campaign data from the server.

{% endnote %}
<!-- endsource: en/_includes/editing/inspector/id-inspector/download-multiple-campaign-warning.md -->



## Options for replacing {#options}

- You can replace text in all objects on the tab or pre-selected objects only.

- You can choose fields for replacement.

- The new text can replace a found text or be added before or after it.
    
    You can edit without searching for a text. To do so, select "All values" instead of "Search". The new fragment can replace the previous field value or be added to the beginning or end of the value.
    
- Search can be case-sensitive or case-insensitive.

- You can use wildcards in your search criteria: **?** — any single character; **\*** — any number of any characters (including no characters).

    For example, _s?ay_ can be matched by _stay_, and _s*ay_ can be matched by _say_, _stay_, and _sunday_.
    


## Campaigns {#campaigns}

To replace text in the campaign fields:

1. Go to the **Campaigns** tab. To replace text in some campaigns rather than all campaigns, [select](https://yandex.com/support/direct-commander-new/en/getting-started/multiple-choice.md) campaigns.

1. Click the **Replace** button or press **Ctrl** + **R** (**Cmd ⌘** + **R** on MacOS).

1. In the **Replace in campaigns** window, specify the replacement parameters and click **Apply**.

## Groups of ads {#adgroups}

To replace text in the ad group fields:

1. In the **Campaigns** tab, select a single campaign or [multiple](https://yandex.com/support/direct-commander-new/en/getting-started/multiple-choice.md) campaigns containing relevant ad groups.

1. Go to the **Ad groups** tab. To replace text in some ad groups rather than all ad groups, select the ad groups you need.

1. Click the **Replace** button or press **Ctrl** + **R** (**Cmd ⌘** + **R** on MacOS).

1. In the **Replace in groups** window, specify the replacement parameters and click **Apply**.


## Ads {#banners}

To replace text in ads:

1. In the **Campaigns** tab, select a single campaign or [multiple](https://yandex.com/support/direct-commander-new/en/getting-started/multiple-choice.md) campaigns containing relevant ads.

1. On the **Ad groups** tab, select an ad group or multiple ad groups.

1. Go to the **Ads** tab. To replace text in some ads rather than all ads, select the ads you need.

1. Click the **Replace** button or press **Ctrl** + **R** (**Cmd ⌘** + **R** on MacOS).

1. In the **Replace in ads** window, specify the replacement parameters and click **Apply**.


## Keywords and autotargetings {#phrases}

To replace text in keywords and autotargetings:

1. In the **Campaigns** tab, select one or [multiple](https://yandex.com/support/direct-commander-new/en/getting-started/multiple-choice.md) campaigns containing the keywords and autotargetings you need.

1. On the **Ad groups** tab, select an ad group or multiple ad groups.

1. Go to the **Keywords** tab. To replace text in some keywords and autotargetings rather than all of them, select the keywords and autotargetings you need.

1. Click the **Edit** button and select **Replace** from the menu or press **Ctrl** + **R** (**Cmd ⌘** + **R** on macOS).

1. In the **Replace in keywords** window, specify the replacement parameters and click **Apply**.

### Learn more

- [How to cancel edits](https://yandex.com/support/direct-commander-new/en/editing/undo.md)

<!-- source: en/_includes/footer.md -->
<div width="100%" align="center"> 
<br><br><br>
You can also go to 
<br>



[![](https://yastatic.net/s3/doc-binary/src/support/direct-commander-new/ru/files/log-commander-en.svg)](https://yandex.com/project/commander/new)


</div>

<!--  -->
<!-- endsource: en/_includes/footer.md -->

<!-- source: en/_includes/remove-voting-style.md -->

<!-- endsource: en/_includes/remove-voting-style.md -->
