title: How to prevent the pasting of special characters into an input field using jQuery?
body: <p>I want to prevent users from using special characters, I can already prevent the user from typing these characters, but I'm also trying to prevent pasting of special characters. 
  <a href="https://jsfiddle.net/wnjgLj62/2/" rel="nofollow">FIDDLE</a></p>
  
  <p>Please note: I'm allowing Cyrillic, latin and turkic characters. </p>
  
  <p>JS:</p>
  
  <pre><code>$('input').bind('input', function() {
    var c = this.selectionStart,
     r = /[^a-zA-Za-åa-ö-w-я 0-9/@!"#¤?¨'_.,]/,gi
     v = $(this).val();
   if(r.test(v)) {
   $(this).val(v.replace(r, ""));
    c--;
    }
   this.setSelectionRange(c, c);
  });
  </code></pre>