Ecco il nuovo risultato...
Il problema è che non riesco a scrivere l'estrazione della RegExp nel file.Hai dei suggerimenti.
Cmq grazie per l'aiuto.
codice:
<%
' REGEXP PER ESTRAZIONE TAG IMG
Function RegExpMap(str)
Dim strTemp, objMatch
Dim objRegExp
Set objRegExp = New RegExp
objRegExp.IgnoreCase = True
objRegExp.Global = True
objRegExp.Pattern = "<img id=carteDyn((.|\n)*?)>"
For Each objMatch in objRegExp.Execute(str)
Response.Write(objMatch.Value)
Next
Set objRegExp = Nothing
End Function
'URL DA LEGGERE IN REMOTO
url_pagina = "http://www.viamichelin.it/viamichelin/ita/dyn/controller/mapPerformPage?strAddress=Lungomare+trieste&strCP=30021&strLocation=caorle&strCountry=EUR&image2.x=24&image2.y=10"
Set Objxml = Server.CreateObject("Msxml2.ServerXMLHTTP")
Objxml.Open "Get", url_pagina, False
Objxml.Send
stringa = RegExpMap(Objxml.responseText)
Set Objxml = Nothing
' CODICE PER SALVATAGGIO FILE
'Dim myFile
'myFile = "temp_map.asp"
'Set fs=Server.CreateObject("Scripting.FileSystemObject")
'Set ts = fs.CreateTextFile(Server.MapPath(myfile), True)
'ts.WriteLine stringa
'ts.Close
'set ts=Nothing
'set fso = Nothing
%>