title: Regex is including slash
body: <p>I'm filtering out elements from an array with this regex expression:</p>
  
  <pre class="lang-regex prettyprint-override"><code>/([A-Za-z'])/g)
  </code></pre>
  
  <p>I have string of words and this is how I'm making an array of it:</p>
  
  <pre class="lang-js prettyprint-override"><code>const arraylist = text.split(' ').filter(el =&gt; el.match(/([A-Za-z'])/g))
  </code></pre>
  
  <p>For some reasons when text is <code>//wont won't won't</code> my outcome is <code>[ '//wont', 'won\'t', 'won\'t' ]</code></p>
  
  <p>What am I missing? I want the double slash to be filtered out in my end array</p>