title: Using regex to parse multiline string
body: <p>This is the full string that I want to parse:</p>
  
  <pre><code>Response
  --------
  {
    Return Code: 1
    Key        : &lt;None&gt;
    Files      : [
      {
        Return Code: 0
        Data       : 'Value' is 1
  'Value' is two
  This is third line of output
      }
    ]
  }
  </code></pre>
  
  <p>And this is how I want the parsed text to look like:</p>
  
  <pre><code>'Value' is 1
  'Value' is two
  This is third line of output
  </code></pre>
  
  <p>I've tried messing with <code>re.findall()</code> but I cannot get exactly what I want.<br/>
  This is a python script which trys to parse using regex ..</p>
  
  <pre><code>import subprocess,re
  output = subprocess.check_output(['staf', 'server.com', 'PROCESS', 'START', 'SHELL', 'COMMAND', "'uname'", 'WAIT', 'RETURNSTDOUT', 'STDERRTOSTDOUT'])
  result = re.findall(r'Data\s+:\s+(.*)', output, re.DOTALL)[0]
  print result
  </code></pre>
  
  <p>Output of script ..</p>
  
  <pre><code>[root@server ~]# python test.py 
  ''uname'' is not recognized as an internal or external command,
  operable program or batch file.
  
      }
    ]
  }
  </code></pre>