×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: PHP
Posted by: Amzad Hossain
Added: Jun 18, 2014 11:09 AM
Views: 31
Tags: php
This also wipes newline . This will come handy if you are trying to printing javascript code within php
  1. preg_replace('/\p{C}+/u', '',  $topic_obj->description)