title: How to replace a specific text in a line in c#
body: <p>I have the following string in a line, a part of which is to be replaced. ı am using <code>Regx.Replace()</code>.</p>
  
  <blockquote>
    <p>The address4 is found in varchar(4) is a 4.</p>
  </blockquote>
  
  <p>In the above line, I must search the word "varchar" and replace the string "4" with "MAX".</p>
  
  <p>Finally, the output should be like:</p>
  
  <blockquote>
    <p>The address4 is found in varchar(MAX) is a 4.</p>
  </blockquote>
  
  <p>Please help me in the above issue I am facing. I am not able to replace it.</p>