title: JS replace inputted single quote to another character
body: <p>I have input area where I want to replace inputted single quote ' to another character instantly. Something like this but for single quote only:</p>
  
  <pre><code>!(/^[A-z&amp;#209;&amp;#241;0-9]*$/i).test(f.value)?f.value = f.value.replace(/[^A-z&amp;#209;&amp;#241;0-9]/ig,''):null;
  </code></pre>
  
  <p>Any help appreciated.</p>