正则替换字符串
JS 通过正则替换 字符串利用正则表达式替换字符串'==========================================================================================
'函数名:RegExpStr
'作 用:利用正则表达式替换字符串
'参 数:ObjStr //字符串对象
' RegPattern //正则表达式
' ToStr //要替换的内容
'返回值:返回替换后的内容。
'==========================================================================================
<div class="dp-highlighter"><div class="bar"><div class="tools">Javascript代码 http://hackpro.iteye.com/images/icon_copy.gif http://hackpro.iteye.com/images/icon_star.pnghttp://hackpro.iteye.com/images/spinner.gif
页:
[1]