Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Remove newlines and join lines

by Django (Pilgrim)
on Aug 28, 2002 at 16:00 UTC ( [id://193489]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove newlines and join lines
in thread Remove newlines and join lines

Replacing the regex in my first answer with that one should work:
s/\s*(\w+)[\n\s]+([^\n]+)[\n\s]+/$1 $2\n/g;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-28 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found