Regular expression for replacement operation
<p>Is there any regular expression that will replace everything except alphanumeric?
My attempt (not working)</p>

<pre><code>string str = "This is a string;;;; having;;; and It also 5555 777has dot (.) Many dots(.....)";


Regex rgx2 = new Regex("^[a-zA-Z0-9]+");
string result1 = rgx2.Replace(str, "");
</code></pre>
