<%
dim x,y
x="uuu有效部分1yyyajuuu有效部分2yyylk"
for i=1 to ubound(split(x,"uuu"))
y=split(x,"uuu")(i)
y=split(y,"yyy")(0)
response.write y & "<br>"
next
%>
我就是传说中江湖上失散多年的赫赫有名的vbs教父!!
用我的,不管多少个
sdfguuu有效部分1yyydfuuu有效部分1yyy=sdfuuu有效部分1yyydfgdf=uuu有效部分1yyysdfg
都好使
<SCRIPT LANGUAGE=vbs>
dim x,y
x="uuu有效部分1yyyajuuu有效部分2yyylk"
for i=1 to ubound(split(x,"uuu"))
y=split(x,"uuu")(i)
y=split(y,"yyy")(0)
msgbox y
next
function UBB_URL(strText)
dim strContent
dim re,Test
Set re=new RegExp
re.IgnoreCase =true
re.Global=True
strContent=strText
re.Pattern="\[URL=(.[^\[]*)\](.[^\[]*)(\[\/URL\])"
strContent=re.Replace(strContent,"<A HREF=""$1"" TARGET=_blank>$2</A>")
UBB_URL=strContent
end function