Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
February 25, 2005, 9:25 pm
rate this thread
Re: How do I remove extra line breaks beyond two?
On 25 Feb 2005 15:25:17 -0800, firstname.lastname@example.org wrote:
There any may ways but I'd probably use something like:
$string = preg_replace('/(?<=\n)(\n?)\n*/s', "$1", $string);
<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum