title: Remove all occurences of new lines and tabs
body: <p>I'm still in the process of learning some decent regex but I would have thought this would work.</p>
  
  <p>This works:</p>
  
  <pre><code>str.replace(/   /g,"").replace(/(\r\n|\n|\r)/gm,"");
  </code></pre>
  
  <p>But a shorter version of this, does not. Where did I go wrong?</p>
  
  <pre><code>str.replace((/  /g)|(/(\r\n|\n|\r)/gm),"");
  </code></pre>