日期:2014-05-17  浏览次数:20964 次

大家好,谁知道ASP中是否有类似于 php中preg_match 正则表达式匹配的函数,谢谢!!
大家好,谁知道ASP中是否有类似于   php中preg_match   正则表达式匹配的函数,谢谢!!

------解决方案--------------------
http://www.cndw.com/tech/asp/200104131833.asp
ASP中正则表达式的应用
------解决方案--------------------
set regex=new regexp()
regex.pattern = "^[\s]*$ "
set matches = regex.execute(str)
if matches.count> 0 then
' '有匹配项
end if