title: Regex to replace every newline
body: <p>I need to replace every newline character in a string with another character (say 'X'). I do <strong>not</strong> wish to collapse multiple newlines with a single newline!</p>
  
  <p>PS: this regex replaces all consecutive newlines with a single newline but its not what I need.</p>
  
  <pre><code>Regex regex_newline = new Regex("(\r\n|\r|\n)+");
  </code></pre>