title: Another PHP regex question
body: <p>Guys, this probably will be fairly simple, but how am I able to find all the matches using regex of this occurrence in a load of text.</p>
  
  <pre><code>[[data in here]]
  </code></pre>
  
  <p>EG:</p>
  
  <pre><code>Blah blah blah [[find]] and maybe [[this]]
  </code></pre>
  
  <p>So I am able to find the occurrences and then replace them as urls.</p>
  
  <p>Does that make sense?</p>
  
  <p>I tried using</p>
  
  <pre><code>preg_match_all("/[[([^&lt;]*)]]/", $data, $matches, PREG_OFFSET_CAPTURE);
  </code></pre>
  
  <p>But returns errors. Any ideas? :)</p>