Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Answer: How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?

by songahji (Friar)
on May 11, 2005 at 17:58 UTC ( #456095=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ? - Answer contributed by songahji

if you have lynx (a program to browse the World Wide Web which works on simple text terminals) then call it.
$text_only = `lynx -dump $filename`;
OR

If you have Netscape, use its "Save as" option with the type set to "Text". This one works with tables.

  • Comment on Answer: How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?
  • Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-01-19 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (226 votes). Check out past polls.

    Notices?