title: Need help getting text from multiple lines of a text file, only after : in each line. C# Forms App
body: <p>I've built a C# Forms application that takes multiple lines of input via text boxes, combo boxes, radio buttons, etc. and Exports them all in a specific format to a Text file,</p>
  <p>Essentially the text document should be formatted like this:</p>
  <blockquote>
  <p>Section A:<br />
  Description 1: A<br />
  Description 2: B<br />
  Section B:<br />
  Description 3: C<br />
  Description 4: D</p>
  </blockquote>
  <p>I currently manually write in the Text Before :, and the relevant data from the form input is always after.</p>
  <p>Every line will end with &quot;:&quot;, however I've got lines that end there and have nothing after and lines with data after. I'm looking to basically reverse the process, I want to import the text file I exported, and grab only the relevant data and put it back into the Text Boxes, Combo Boxes, radio buttons, etc.</p>
  <p>I basically just need to scan each line of the file and only grab the text after : (if any is present) and assign it to a variable. I can't seem to find a method for this that will parse through each line until the : like I need.</p>
  <p>Any help is appreciated.</p>