+ -
当前位置:首页 → 问答吧 → 请教如何分析xmlhttp所获取的内容??

请教如何分析xmlhttp所获取的内容??

时间:2005-01-06

来源:互联网

<%
  Dim objXMLHTTP, xml
  Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.myplay.com.tw/users//90/f0/hijhon/djroom.mpl", False
  xml.Send
  Response.write "Here's the html we now have in our xml object"
  Response.write "<BR><BR><BR>"
  Response.Write "<xmp>"
  Response.Write xml.responseText
  Response.Write "</xmp>"
  Response.write "<BR><BR><BR>"
  Response.write " Now here's how the page looks:<BR><BR>"
  Response.Write xml.responseText
  Set xml = Nothing
%>
-----------
以上代码从http://www.myplay.com.tw/users//90/f0/hijhon/djroom.mpl获得的内容,我如何才能取出中间的
Port=10348
Password=865900
这两项内容啊?
,谢谢了。

作者: Hijhon   发布时间: 2005-01-06

正则表达式

作者: jqonline   发布时间: 2006-02-27

顶,这个正则怎么写的

作者: kancnspace   发布时间: 2006-03-02