How to clean a string using python regular expression
<p>I have the following string which have to clean</p>

<pre><code>#import re

addr="abcd&amp;^fhj"
problemchars = re.compile(r'[=\+/&amp;&lt;&gt;;\'"\?%#$@\,\. \t\r\n]')
re.search(problemchars,addr)
</code></pre>