Split string with square bracket : <p>I'm trying to use preg_split to split this text</p>

<pre><code>Yes, it was great. [I have no ideas how great it was.]
</code></pre>

<p>into this array:</p>

<pre><code>['Yes', 'it', 'was', great', '[I have no ideas how great it was.]'
</code></pre>

<p>But I don't know how...</p>
