Say I want to convert these strings:
www.myexample.com and http://www.myexample.com
into:    
<a href='http://www.myexample.com'>http://www.myexample.com</a>
using Regex.Replace
I've come up with this:
Regex.Replace(string, pattern, "<a href=\"$&\">$&</a>")
My problem is that I don't know how to check if the matched string $& starts with http:// and adds it if necessary.
Any ideas?