<?php $string = "Porcupines\nare\n\n\n\nporcupiney."; echo preg_replace('/(\r|\n|\r\n){2,}/', '<br/><br/>', $string);
You have javascript disabled. You will not be able to edit any code.