title: Insert break line after specific character in file
body: <p>I want to insert a break line after a specific character in C# reading from a text file. I have a text file like</p>
  <pre><code>string text = File.ReadAllText(@&quot;T:\data.txt&quot;);
  </code></pre>
  <p>and it contains a very big one line text (below is just a small portion of that).</p>
  <pre><code>&quot;dep-1&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;,&quot;dep-2&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;,&quot;dep-3&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;
  </code></pre>
  <p>Now I need to enter break line after <strong>Z &quot;,</strong> and save the file. Then the text will formatted as:</p>
  <pre><code>&quot;dep-1&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;,
  &quot;dep-2&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;,
  &quot;dep-3&quot; : &quot;M579.01303,612.20699L578.77297,612.20699 L578.77297,611.967L579.01303 Z&quot;
  </code></pre>
  <p>Is this possible in C#?</p>