title: Break line after specific expression and add to running list
body: <p>I have very long text files with running measurements. These measurements are divided by some information that has almost the same style within my text files. Here an original extract:</p>
  
  <pre class="lang-none prettyprint-override"><code>10:10 10 244.576 0 0
  10:20 10 244.612 0 0
  10:30 10 244.563 0 0
  HBCHa 9990 Seite 4
  16.02.16
  Hafenpegel 
  Pegel müM Var 0 Pegelstand
  Datum Zeit Intervall müM Q Art
  Sonntag, 2. Januar 2000 10:40 10 244.555 0 0
  10:50 10 244.592 0 0
  11:00 10 244.595 0 0
  11:10 10 244.593 0 0   
  ...
  </code></pre>
  
  <p>I would like a running list only with the measurements. As you can see, one measurement stands within an information line, in the line that starts with <code>Sonntag</code>. My problem is that I want to break the line after <code>2000</code> and add the second part of the broken line, <code>10:40 10 244.555 0 0</code>, as a separate line.</p>
  
  <p>My target is this:</p>
  
  <pre class="lang-none prettyprint-override"><code>10:20 10 244.612 0 0
  10:30 10 244.563 0 0
  10:40 10 244.555 0 0
  10:50 10 244.592 0 0
  11:00 10 244.595 0 0
  11:10 10 244.593 0 0
  ...
  </code></pre>
  
  <p>Until now I managed to choose the lines only that start with the time:</p>
  
  <pre><code>if i.startswith("0") or i.startswith("1") or i.startswith("2"):
  </code></pre>
  
  <p>and add it to new list.</p>
  
  <p>And I can select the lines that contain the expression "tag":</p>
  
  <pre><code>f = open(source_file, "r")
  data = f.readlines()
  
  for lines in data:
      if re.match("(.*)tag(.*)", lines):
          print lines
  </code></pre>
  
  <p>There are no other lines that match with "tag"!</p>