×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Gábor Papp
Added: Sep 6, 2017 11:57 AM
Views: 0
Tags: no tags
  1. function br2nl($string) {
  2.     return preg_replace('/\<br(\s*)?\/?\>/i', "\n", $string);
  3. }