parsing a string looking at multiple delimiters : <p>I am trying to parse a string into:</p>

<ul>
<li>Remove initial "lunch" word</li>
<li>Split the rest into days of week and their associated food item</li>
</ul>

<p>The input comes in just as a string in this format:</p>

<p><code>var s = 'lunch monday: chicken and waffles, tuesday: mac and cheese, wednesday: salad';</code></p>

<p>And my goal is to split into:</p>

<p><code>[monday, chicken and waffles, tuesday, mac and cheese, wednesday, salad]</code></p>

<p>I am using <code>s = s.split(' ').splice(1, s.length-1).join(' ').split(':');</code></p>

<p>Which gets me:</p>

<p><code>["monday", " chicken and waffles, tuesday", " mac and cheese, wednesday", " salad"]</code></p>

<p>Obviously it's splitting on the <code>:</code> only, keeping the <code>,</code> there. I've tried using regex <code>split(":|\\,");</code> to split on <code>:</code> OR <code>,</code> but this does not work.</p>

<p>Any thoughts?</p>
