Regex regexObj = new Regex("<a[^>]*? href="(?<url>[^"]+)"[^>]*?>(?<text>.*?)</a>", RegexOptions.Singleline);