title: Split string with multiple separators
body: <p>I have a string where I need to separate it by +-*/ and put it into array.</p>
  
  <p>I've tried this code that I also found here, but it doesn't seem to be working. It gives me the error "Invalid regular expression: /+|-|*|//: Nothing to repeat."</p>
  
  <pre><code>var separators = ['+', '-', '*', '/'];
  var numbers = x.split(new RegExp(separators.join('|'), ''));
  </code></pre>
  
  <p>Any advice on how should I do this? </p>