help needed in VBScript - search for string after a special character
i have successfully removed all html tags frm this htm file and logged all data into a log file using VBScript.
The problem is i have to be able to search for 2 strings which appears after the occurence of a special character '-->' in the htm file, actually these 2 string are the driver name and associated file name.
here is a part of the html file which i need to search for driver name/file and log into a log file. you can see that after each occurence of --> there is a driver name e.g in the first instance the driver name is ThinkVantage Productivity Center and associated filename is 79uz02ww.zip. likewise there are a lot of other driver name & filename in teh html file which i need to pick out and log to a simple .txt file with the heading
Driver name Filename and below this heading the driver and corresponding file name in different lines.
Pls help!
<TR><!-- ID=79uz02ww -->
<TD bgColor=aqua><FONT size=2>
<P>ThinkVantage Productivity Center</P></FONT></TD>
<TD><FONT size=2><A
href="file://tpesw001/utilimg1/testbld/Davinci/util/us/79uz02ww.zip">
<P>79uz02ww.zip</P></A></FONT></TD>
<TD><FONT size=2><A
href="file://tpesw001/utilimg1/testbld/Davinci/util/us/79uz02ww.bld">
<P>11/25/05</P></A></FONT></TD>
<TD><FONT size=2>
<P>1.02</P></FONT></TD>
<TD align=middle><FONT size=2>
<P></P></FONT></TD>
<TD align=middle><FONT size=2>
<P></P></FONT></TD>
<TD align=middle><FONT size=2>
<P>O</P></FONT></TD>
<TD align=middle><FONT size=2>
<P></P></FONT></TD>
<TD align=middle><FONT size=2>
<P>O</P></FONT></TD>
<TD><FONT size=2>
<P></P></FONT></TD></TR>
<TR><!-- ID=79uy01ww -->
<TD bgColor=aqua><FONT size=2>
<P>Productivity Center Supplement for ThinkPad</P></FONT></TD>
<TD><FONT size=2><A
href="file://tpesw001/utilimg1/testbld/Davinci/util/us/79uy01ww.zip">
<P>79uy01ww.zip</P></A></FONT></TD>
Awaiting a response.
Sincerely
Giftsana

