<% str="<span>1</span><span>2</span><span>3</span>" s1=instr(str,"<span>") s2=instr(str,"</span>") s3=replace(mid(str,s1,s2-s1),s1,"") text=replace(str,s3,s3) %> 标记原文:<span>1</span><span>2</span><span>3</span><br> 获取到的所有标记数据:<%=text%> 结果为:123