I have HTML data which I ll be using in a client app. I need to Regex.Replace the <a>
tags from
<a href="Bahai.aspx">Bahai</a>
to
<a href="#" onclick="process( Bahai.aspx );return false;">Bahai</a>
In C# using RegExReplace with a regex similar to
<a[^>]*? href="(?<url>[^"]+)"[^>]*?>(?<text>.*?)</a>
Ideas?