Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Remove Blank Lines Regex

by tadman (Prior)
on May 21, 2002 at 17:56 UTC ( [id://168221]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo = "Camel meme power supreme!";
    my $bar = "me";
    
    $foo =~ s/$bar+/$bar/g;
    
  2. or download this
    $foo =~ s/($bar)+/$bar/g;
  3. or download this
    $line =~ s!($/)+!$/!g;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 04:25 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found