通过本文主要向大家介绍了asp 正则,asp 正则替换,asp 正则表达式,asp 正则表达式语法,asp 日期函数等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
Function DRexPage(Str)
Dim RegEx
If IsNull(Str) Or Str="" Then Exit Function
Set RegEx=New RegExp
RegEx.IgnoreCase=True
RegEx.pattern="(\&)?page=(\d)+"
DRexPage=regEx.replace(Str,"") '(Str,"$1")
Set RegEx=Nothing
End Function
在分页系统里面用到的把page后面得东西都给丢掉
</div>
Dim RegEx
If IsNull(Str) Or Str="" Then Exit Function
Set RegEx=New RegExp
RegEx.IgnoreCase=True
RegEx.pattern="(\&)?page=(\d)+"
DRexPage=regEx.replace(Str,"") '(Str,"$1")
Set RegEx=Nothing
End Function
在分页系统里面用到的把page后面得东西都给丢掉
</div>