 <p>I would use a regular expression on that, that looks like this:</p> <pre><code>(\d+) ([\d.:]+) (\d+) (\d+)\([^)]+\) (.*) </code></pre> <p>combined with <a href="http://php.net/manual/de/function.preg-match-all.php" rel="nofollow"><code>preg_match_all</code></a> in PHP like that:</p> <pre><code>preg_match_all('#(\d+) ([\d.:]+) (\d+) (\d+)\([^)]+\) (.*)#', $players, $matches); </code></pre>