Replacing a piece of text in all the files within the specified path

In the Replace In Path dialog box, specify the search and replace strings, the
search options, and the scope.
Type the search and replacement text explicitly, or specify patterns using regular expression, or select
a previously used piece of text or a pattern from the recent history drop-down list.

If you specify the search and/or replacement text through a regular expression, use the
$n format in back references (to refer to a previously found and saved pattern).

To use a backslash character \ in a regular expression, escape the meaningful
backslash by inserting three extra backslashes in preposition:
\\\\.

Click Find.
CLion displays the encountered occurrences of the search string in the
Find tool window, selects the first occurrence and opens the file with
this occurrence in the editor and moves the focus to it.

At the same time, CLion opens the Replace Usage dialog box, with the
full path to the encountered occurrence in the title bar:

Do one of the following:

To have the selected occurrence replaced, click Replace.

To preserve the selected occurrence and move to the next one, click Skip.

To have all the occurrences of the search string in the currently active tab replaced, click
Replace All in This File.

To preserve the occurrences of the search string in the currently active tab (any) and move to
the next file, click Skip to Next File.

To have all the detected occurrences replaced, click All Files.

To switch to the manual mode, click Preview.
The Replace Usage dialog box closes and the focus moves to the
Find tool window. Do one of the following:

Browse through the list of detected occurrences, select the ones you want to replace and
then click Replace Selected.