Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: trim leading & trailing whitespace

by ihb (Deacon)
on Mar 30, 2005 at 10:09 UTC ( #443392=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/^[^\S\n]+//gm;
    s/[^\S\n]+$//gm;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://443392]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2017-02-24 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (352 votes). Check out past polls.