title: How to parse a mixed single and multiple lines text?
body: <p><br>
  I want to query the tasks information from a CM synergy database.
  I use these python script snippet:</p>
  
  <pre><code>cmd = "ccm task -query -release " + release_name + \
          " -format \"%displayname; %task_synopsis; %task_description; %owner; %completion_date; %status\""
      (status, output) = subprocess.getstatusoutput(cmd)
  print("status: {}".format(status))
  print("output: \n{}".format(output))
  </code></pre>
  
  <p>Then I get these following like output text in which there are multiple lines in the third column:</p>
  
  <pre><code>1179836; Development projects dev/1.0;      Init tools                                              yangli; 3/29/17 4:05 PM;  completed
                                              Result: no
                                              Comment: This is a testing review comment, it's ok.;
  </code></pre>
  
  <p>Then How can I parse them into a .csv format file?
     I want to know how can I get the completed third column which have many lines.
     Thanks a lot in advance.</p>