strip contrl M character


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $content_raw = preg_replace('/(
  2. |\r|\n)/s',"\n", $content_raw);
  3. $content_raw = str_replace("\n" , " " , $content_raw);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.