title: Regex for column separated values (PHP)
body: <p>I have the following dataset, organized in columns:</p>
  
  <pre><code>startword:          blablabla:              blablabla:
  123456              123456                  123456
  important phrase 1  important phrase 2      important phrase 3
  </code></pre>
  
  <p>And I want to have the <code>important phrases</code> in different matches. At the moment, I have the following regex (which works fine, see <a href="https://regex101.com/r/wP9rD9/1" rel="nofollow">a demo on regex101.com</a>):</p>
  
  <pre><code>^startword:(?:.*\R){2}\K(?&lt;important&gt;.*)
  # look for the startword, consume two non-important lines and throw it away (\K)
  # capture everything from the important line to a group called "important"
  </code></pre>
  
  <p><strong>Expected</strong> output (an array actually):</p>
  
  <pre><code>match1 =&gt; important phrase 1
  match2 =&gt; important phrase 2
  match3 =&gt; important phrase 3
  </code></pre>
  
  <p>At the moment, I split the line programmatically in <code>PHP</code> (using two spaces as delimiter), but I wonder if there's a better way to have the matches in groups directly (some <code>\G</code> magic ?). </p>