bobbyforhire
Technical User
As the subject states i have a large text file that repeats itself alot with the same strings but with diffrent data. Here is an example.
<TD CLASS="products"> <A HREF=" Hollow</A></TD>
<TD CLASS="products" ALIGN="center">$0.10</TD>
<TD CLASS="products" ALIGN="center">8</TD>
<TD CLASS="products" ALIGN="center">
<form action=" method=post >
<input type=text size=2 name="16646:qnty" value="1" >
<input type=hidden name="storeid" value="*2645aea004a115553e5ef7e05eb7f1d1994c7c9f8b">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">
<input type=hidden name="itemnum" value="16646">
<input type=submit value="Buy">
</form>
</TD>
</TR>
<TR>
<!------ Start Sub-Products Table ------>
<TD CLASS="products"> <A HREF=" Hollow *Foil*</A></TD>
<TD CLASS="products" ALIGN="center">$0.65</TD>
<TD CLASS="products" ALIGN="center">3</TD>
<TD CLASS="products" ALIGN="center">
<form action=" method=post >
<input type=text size=2 name="16647:qnty" value="1" >
<input type=hidden name="storeid" value="*2645aea004a115553e5ef7e05eb7f1d1994c7c9f8b">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">
<input type=hidden name="itemnum" value="16647">
<input type=submit value="Buy">
</form>
</TD>
And it keeps going on with that same format but the names and prices change.
So how could i tell VB to go through this text file and grab me this info and put it in it's own text file.
Howltooth Hollow=0.10
Howltooth Hollow*=0.65
Any help would be awesome!
<TD CLASS="products"> <A HREF=" Hollow</A></TD>
<TD CLASS="products" ALIGN="center">$0.10</TD>
<TD CLASS="products" ALIGN="center">8</TD>
<TD CLASS="products" ALIGN="center">
<form action=" method=post >
<input type=text size=2 name="16646:qnty" value="1" >
<input type=hidden name="storeid" value="*2645aea004a115553e5ef7e05eb7f1d1994c7c9f8b">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">
<input type=hidden name="itemnum" value="16646">
<input type=submit value="Buy">
</form>
</TD>
</TR>
<TR>
<!------ Start Sub-Products Table ------>
<TD CLASS="products"> <A HREF=" Hollow *Foil*</A></TD>
<TD CLASS="products" ALIGN="center">$0.65</TD>
<TD CLASS="products" ALIGN="center">3</TD>
<TD CLASS="products" ALIGN="center">
<form action=" method=post >
<input type=text size=2 name="16647:qnty" value="1" >
<input type=hidden name="storeid" value="*2645aea004a115553e5ef7e05eb7f1d1994c7c9f8b">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">
<input type=hidden name="itemnum" value="16647">
<input type=submit value="Buy">
</form>
</TD>
And it keeps going on with that same format but the names and prices change.
So how could i tell VB to go through this text file and grab me this info and put it in it's own text file.
Howltooth Hollow=0.10
Howltooth Hollow*=0.65
Any help would be awesome!