Hi Jeffrey,

On Mon, 25 Jul 2011 13:17:57 -0700
Jeffrey Joh <johjeff...@hotmail.com> wrote:

> 
> 
> 
> 
> Hello, I'm trying to parse HTML files.  I want to extract values from tables
> (1) and from text fields (2).  (1)<tr><td><img src="/image.gif" alt=""
> width="1" height="1" border="0"></td></tr> <tr> <td align="right"
> valign="top"><b>Floor plan:</b></td> <td>
>    Ranch #1  </td> 
> </tr>  (2)
> <input type="text" name="date_constructed" id="date_constructed"
> value="04/01/2004" size="10" disabled> I would want to retrieve the floor
> plan (Ranch #1) and the date constructed (04/01/2004) from each HTML file
> (along with many other text boxes).  What is an easy way of doing that? Jeff
>                                         

You should use an HTML parser for that:

http://perl-begin.org/uses/text-parsing/

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://shlom.in/sussman

Had I not been already insane, I would have long ago driven myself mad.
    — The Enemy and how I Helped to Fight It

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to