Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Comment Removal

by rnahi (Curate)
on Oct 16, 2005 at 20:26 UTC ( [id://500609]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $html =~ s/$RE{comment}{HTML}//g;  # <==
    
    print "$html\n";
    
  2. or download this
    <p><b>Hello World</b>
    
    </p><font color=red>It is Sunday!</font>
    <p>this should stay
    here</p>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found