title: C# regex find and remove text after a string matched
body: <p>I want to find and remove everything after the matched string in the text and replace it with a text, I am new to regex</p>
  
  <pre><code>From: Tom novy &lt;AJames@onmicrosoft.com&gt;
  To: "mithrandir@wttom.onmicrosoft.com"
  From: David Cusack &lt;AJames@onmicrosoft.com&gt;
  </code></pre>
  
  <p>should be:</p>
  
  <pre><code>From: "redacted"
  To: "mithrandir@wttom.onmicrosoft.com"
  From: "redacted"
  </code></pre>
  
  <p>I have a regex that replaces after a character :  </p>
  
  <pre><code>var regex = new Regex(@":(.*)");
  var newText  = regex.Replace(testString1, "");
  </code></pre>
  
  <p>How to have same regex to find "From:" only and replace everything after it (but on same line) to From: "redacted". </p>