Fetch selected data from webpage

Hi All,

Can anybody tell me the command used for extracting some selected lines from
a web-page. I guess we'll have to do this using wget or Curl to achieve this....
If anbody has any idea abt it, kindly post your reply ASAP.

Thanks.

Hi.

I usually use

lynx -dump

because I am most often interested in the text, not the markup:

       -dump  dumps  the  formatted  output  of  the default document or those
              specified on  the  command  line  to  standard  output.   Unlike
              interactive mode, all documents are processed.  This can be used
              in the following way:

              lynx -dump http://www.subir.com/lynx.html

-- excerpt from man lynx

Good luck ... cheers, drl