Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by Pedro Picasso (Sexton)
on Oct 15, 2003 at 14:10 UTC ( #299416=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <b>I like</b> <i>squirrels!</i>.
    
  2. or download this
    $html =~ s/<[^>]*>([^<]*)<\/[^>]*>/$1/gs;
    
  3. or download this
    I like squirrels.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://299416]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2023-12-09 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (37 votes). Check out past polls.

    Notices?