Tag: tags

如何从C#中的字符串中提取href标签?

我有一个C#函数,它返回一个字符串,格式如下: string tableTag = “135 Boot” 我想获得href链接并存储到另一个名为link的字符串中: string link = “https://stackoverflow.com/questions/22151037/how-to-extract-href-tag-from-a-string-in-c/Boot_53.html” 我怎么能在C#中做到这一点?