Okay people say i have this:
How would i go about removing any new lines found between the list bbcode tags in the $pattern ?
Is there a way to either remove any new lines directly in that or is there a way to ignore them and grab everything else?
PHP:
$pattern = '#\[list\](.*?)\[/list\]#m';
//$replace = ;
$text = preg_replace($pattern, '<ul>$1</ul>', $text);
Is there a way to either remove any new lines directly in that or is there a way to ignore them and grab everything else?







