Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Removing blank/empty lines

by Anonymous Monk
on Dec 11, 2012 at 14:28 UTC ( #1008310=note: print w/ replies, xml ) Need Help??

in reply to Removing blank/empty lines

Use a regex like /$\s*^/ to anchor the pattern at both ends and search for zero-or-more occurrences of a space character between.

Comment on Re: Removing blank/empty lines
Replies are listed 'Best First'.
Re^2: Removing blank/empty lines
by Athanasius (Canon) on Dec 12, 2012 at 06:08 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-02-07 04:06 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (245 votes), past polls