ASP截取指定字符串之间的字符的源代码
Function
regx(patrn, str)
Dim regEx, Match, Matches
Set regEx = New RegExp
regEx.Pattern = patrn
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute(str)
For Each Match in Matches
RetStr = RetStr & Match.Value & " "
Next
regx = RetStr
EndFunction 调用: result=regx("http.*?jpg",str)
'这里的result就是你想要的结果.