Regex to Find/replace argument pattern in a function-call across all files
问题 I have a large codebase, where we need to make a pattern-change in the argument of a specific function. i.e. All arguments to a function foo() are renamed from the format something.anotherThing are to be renamed as something_anotherThing The arguments can be anything but will always be in a str1.str2 format. It is to be done for arguments of this one function only, all other code should remain untouched. e.g. foo(a.x) --> foo(a_x) foo(a4.b6) --> foo(a4_b6) Is there any way I can achieve it