Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

br2nl

$html = 'this <br>is<br/>some<br />text <br    />!';
$nl = preg_replace('#<brs*/?>#i', "
", $html);
echo $nl;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+3 =