Split a string by ; as long as it's not between » «
<p>Even though the title is self-explanatory, I'll describe the problem a bit.</p>

<p>So I want to split a string by <code>;</code>. However, if the <code>;</code> is between these two characters <code>» «</code> then don't split it. Of course, there can be many <code>» «</code> in one string.</p>

<p>This: <code>var myString = "Split this; »Don't split this; don't split«; split this again; this is split";</code></p>

<p>Should return this: <code>["Split this", "»Don't split this; don't split«", "split this again", "this is split"]</code></p>

<p>I assume this could be solved with regex, but I had no luck yet.</p>

<p>Here's the code to get us started: <a href="http://jsbin.com/wivuyucifo/1/edit?html,js,console" rel="nofollow">http://jsbin.com/wivuyucifo/1/edit?html,js,console</a></p>