title: Regular expression to match and split on chinese comma in JavaScript
body: <p>I have a regular expression <strong>/\s*,\s*/</strong> that matches left spaces followed by comma then right spaces.</p>
  
  <p>Example:</p>
  
  <pre><code>var str = "john,walker    james  , paul";
  var arr = str.split(/\s*,\s*/);
  Values in arr = [john,walker james,paul] // Size: 3
  </code></pre>
  
  <p>Example with Chinese characters:</p>
  
  <pre><code>var str = "继续，取消   继续 ，取消";
  var arr = str.split(/\s*,\s*/);
  Values in arr = ["继续，取消   继续 ，取消"] // Size: 1, All values at index 0 no splitting happened
  </code></pre>
  
  <p>Tried splitting characters with unicodes:</p>
  
  <pre><code>var str = "john,walker    james  , paul";
  var arr = str.split(/\u0020*\u002C\u0020*/);
  Values in arr = [john,walker james,paul] // Size: 3
  
  var str = "继续，取消   继续 ，取消";
  var arr= str.split(/\u0020*\u002C\u0020*/);
  Values in arr = ["继续，取消   继续 ，取消"] // Size: 1, All values at index 0 no splitting happened
  </code></pre>
  
  <p>I went through <a href="https://stackoverflow.com/questions/32961008/split-chinese-characters">this</a> link but not much info was there that I can use in my scenario. Is it really impossible to create regex for Chinese characters and split them?</p>