There are a lot of files, I try to search for strings like this:

void Call() const 

Such a regular season

 void Call\(\) const([^\s]+) 

So then replace with like:

 void Call() const override 

But my regular functions are already renamed functions in such:

 void Call() const override 

    1 answer 1

    Your regular expression means:

    1. Text void Call() const
    2. NOT whitespace at least once

    That is, it corresponds to the text for example:

     void Call() constantin void Call() const() и.т.п. 

    Most likely - this is not what you need.
    Most likely you will be satisfied with an expression that searches for the text to the right of which is whitespace to the end of the line. That is, there is nothing more in this line.

     void Call\(\) const\s*?(?=\n|$) 

    If not, specify the question with more examples and descriptions of what needs to be found.

    • Thank you, but your regular team is looking for everything, for example: void Call () const override You don’t need to search for it, you just need to find such functions: void Call () const (without the word override) - orion_gm
    • That's why I wrote that you need to clarify the question. Its essence is poorly understood. - ReinRaus