title: Python regex split comma or space separated string
body: <p>I have shown an example of the input string and the output string I need to have. The numbers and strings can be in any order and those can have any number or any string (e.g. 'THIS' can be some other string)</p>
  
  <p>I need following output</p>
  
  <pre><code>["'5'", "'THIS'", "'/,'", "'4.2560'", "'0.34000E-01'"]
  </code></pre>
  
  <p>for all following input strings:</p>
  
  <pre><code>""" 5,'THISMORETHAN4','/,',4.2560,0.34000E-01 """
  """ 5,'THIS','/,',4.2560,0.34000E-01 """
  """5 , 'THIS' , '/,' , 4.2560 , 0.34000E-01 """
  """ '5'  'THIS' '/,' '4.2560' '0.34000E-01' """
  """ 5,'THIS','this','/,',4.2560,0.34000E-01 """
  """ 5,'THIS','/,',4.2560,0.34000E-01 """
  </code></pre>
  
  <p>This is a continuation of <a href="https://stackoverflow.com/questions/30969459/python-reg-ex-to-include-missing-commas">previous question</a>.</p>
  
  <ol>
  <li>The strings can be comma separated or space separated. There may be
  or may not be spaces before or after a splitting comma.</li>
  <li>sub strings in single quotes may have special characters within (e.g. '/,' as shown above)</li>
  </ol>