title: Regex for splitting
body: <p>I'd like to split a string such as</p>
  
  <pre><code>"[1-5]?3456[2-5][4-D]"
  </code></pre>
  
  <p>to</p>
  
  <pre><code>array[0] = "[1-5]"
  array[1] = "?"
  array[2] = "3"
  array[3] = "4"
  array[4] = "5"
  array[5] = "6"
  array[6] = "[2-5]"
  array[7] = "[4-D]"
  </code></pre>
  
  <p>Can anybody tell me if that's possible with a regex that splits?</p>
  
  <p>I got three elements "3" a letter (which can be 1-9 and A-F, "?" a whitecard, "[1-5]" a range (same 1-9 + A-F)</p>
  
  <p><strong>Edit:</strong> Examples that match are</p>
  
  <pre><code>"[1-5]?3456[2-5][4-D]"
  
  "?4A9[1-F]?[A-D]1"
  
  "12459987"
  
  "[1-F][1-F][1-F][1-F][1-F][1-F][1-F][1-F]"
  </code></pre>