正则替换Regex.Replace(str,"<a[^>]*?","")

解决方案 »

  1.   

    Regex.Replace(str,"<a[^>]*>","")
      

  2.   

    可不可以发个详细的C#函数的使用方法给我~万分谢谢[email protected]
    连接也可以~
      

  3.   

    Regex.Replace(str,"<a[^>]*>","")
    可以的,我试过了
    当然要引入:
    using System.Text.RegularExpression
      

  4.   

    Regex.Replace(str,"<a[^>]*>","")
    可以的,我试过了
    当然要引入:
    using System.Text.RegularExpression