ASP正则获取图片地址
摘要:%Function RegExp_Execute(string) Dim regEx, Match, Matches,values '建立变量。 Set regEx = New RegExp '建立正则表达式。 regEx.Pattern = "src\=.+?\.(gif|jpg)" '设置模式。 regEx.IgnoreCase = true '设置是否区分字符大小写。 regEx.Global = True '设置全局可用性。 Set Matches = regEx.Execute(string) '执行搜索。 For Each Match in Matches '遍历匹配集合。 va
阅读全文
posted @ 2011-01-20 11:07
浙公网安备 33010602011771号