title: Turning a text string of week numbers into array of values with jquery
body: <p>I've been battling with this for a while:</p>
  
  <p>I've got a mysql database of events happening on various weeks. For each event there is a field with the week numbers that it is occurring as a text string.</p>
  
  <p>e.g. <code>W01-W04, W06, W08, W10</code></p>
  
  <p>How can i convert that that to an array of values with jquery?</p>
  
  <p>e.g. <code>W01, W02, W03, W04 ect..</code></p>
  
  <p>And then how would i replace that row with a row for each week value.</p>
  
  <p>Thanks in advanced.</p>