转义用了\ 再用@可能会出错 string regexC = @"bold\" href=\"(.+?)\" target=_blank>"; string regexC = "bold\" href=\"(.+?)\" target=_blank>";