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

Re: regular expression: match multiple newlines

by Kenosis (Priest)
on Nov 03, 2013 at 19:38 UTC ( #1061064=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\n{2,}/EEEEE/g
    
  2. or download this
    dogs rats
    catsEEEEEfish
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-12-29 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (187 votes), past polls