title: Parse a text file in PHP, where the format of data changes
body: <p>My data looks like this.</p>
  
  <pre><code>123456  abc1 (aaa: [bbb]aaa)    http://exampleurl.org.uk
  
  654321 cba2 (bbb: aa7)  http://urlexample.org.uk
  ...
  </code></pre>
  
  <p>I would like to split each row into 3 strings, so I can put them into an array. 
  E.g: </p>
  
  <pre><code>string 1 = 123456   
  
  string 2 = abc1 (aaa: [bbb]aaa)
  
  string 3 = http://exampleurl.org.uk
  </code></pre>
  
  <p>My problem is that the second string is often changing with lots of different formats. The first string is always similar, and the last string is always a url.</p>
  
  <p>EDIT: I have noticed that all of the 2nd strings end with a bracket ')' if this helps.</p>
  
  <p>I was going to use explode() but I'm not sure how to deal with the second string. Any advice?</p>