好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

asp去除html标记与空格的正则_正则表达式

function nohtml(str)  dim re  Set re=new RegExp         re.IgnoreCase =true         re.Global=True         re.Pattern="(\<.[^\<]*\>)"         str=re.replace(str," ")         re.Pattern="(\<\/[^\<]*\>)"         str=re.replace(str," ")         str=replace(str," ","")        str=replace(str," ","")        nohtml=str         set re=nothing  end function

查看更多关于asp去除html标记与空格的正则_正则表达式的详细内容...

  阅读:61次