title: Find replace using regular expression to keep what is in brackets
body: <p>Given I have 1000's of...</p>
  <pre><code>LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;blah&quot;);
  
  ...
  
  LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;foo&quot;);
  
  ...
  
  LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;and so on...&quot;);
  </code></pre>
  <p>Is there a way I can find and replace them perhaps by regex? In order to keep the string parameter to get the following examples...</p>
  <pre><code>NewMethod(LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;blah&quot;));
  NewMethod(LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;foo&quot;));
  NewMethod(LegacyProject.LegacyNameSpace.LegacyClass.LegacyMethod(&quot;and so on&quot;));
  </code></pre>
  <p>I cannot change the original method as it is abstracted away unfortunately and is always located in a view (.cshtml) file.</p>
  <p>EDIT: To the buffoon who thinks this needs more focus... A regex to turn example strings 1 into example strings 2 is what I am after. I despair with the pedants on here...</p>
  <p>Thanks</p>