Try this:
var input = "MyLinkMyLink2";
var r = new Regex("");
var output = r.Matches(input);
var urls = new List();
foreach (var item in output) {
urls.Add((item as Match).Groups[1].Value);
}
It will find all a tags and extract their href values then store it in urls List.
match begining of tag
.*?href= match anything until href=
"(.*?)"match and capture anything inside ""
.*?> match end of tag