Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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