title: Remove fullwidth and half width charactors in javascript
body: <p>My DB does not support full width and half width chars. So I need to escape them before insertion.</p>
  
  <p>I believe the range is U+FF00 to U+FFFF</p>
  
  <p>so my function reads</p>
  
  <pre><code>function escapeZeroWidth(userInput){
      return (userInput ? userInput.replace(/[\uFF00-\uFFFF]/g, '') : userInput);
  }
  </code></pre>
  
  <p>But this is not working as expected(not escapin chars).</p>
  
  <p>Is there anything wrong in code?</p>