<?php $text = "- jedna\n- dva\n- tri"; echo $text; echo(preg_replace('/\n\s*-\s*/m', '', $text));
You have javascript disabled. You will not be able to edit any code.