title: Regular Expression - Remove all special characters except alphanumeric and accents
body: <p>How is possible to remove all special characters except alphanumeric and accents? </p>
  
  <p>I tried something like:</p>
  
  <pre><code>text = 'abcdeáéí.@# '
  re.sub(r'[^a-zA-Z0-9áéíóúÁÉÍÓÚâêîôÂÊÎÔãõÃÕçÇ: ]', ' ', text)
  </code></pre>
  
  <p>But I hadn't success. the following expression is valid to allow just alphanumeric but not to accents:</p>
  
  <pre><code>tmp = re.sub(r'[^a-zA-Z0-9: ]', '', x)
  </code></pre>
  
  <p>Could someone help me?</p>