title: Regex - Replace Syntax - Backreferences
body: <p>I'm trying to loop through all the lines of a file and for each line that contains a " I'm trying to replace the match with the line itself but with a " at the end too.</p>
  
  <p>I'm using syntax like this from .NET/C#:  </p>
  
  <pre><code>Regex re = new Regex("/\"/"); // without escaping would be /"/
  re.Replace(" someAttr=\"some text here", "$0\"");
  </code></pre>