troubleshooting Question

extract text from html file

Avatar of stuayre
stuayre asked on
10 Comments1 Solution574 ViewsLast Modified:

I need a function to extract some data from inside a html string.

the information repeats itself on the page, here's an a <tr>

<tr><td align=left class="stdtext">AA-T128</a></td><td align=left class="stdtext"><a href="">Coriander Oil 10ml</td><td align=right class="stdtext">2</td><td align=right class="stdtext">£2.67</td><td align=right class="stdtext"><input type=text size=4 name="qty_AA-T128" value="0"></td><td align=right class="stdtext"></td></tr>

I need to extract the product code AA-T128 and the stock 2

any ideas?



Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros