For example we have text
<strong> The Times NY </strong>
But good result need be
<strong>The Times NY</strong>
I make regexp in php
function trim_text($str) { return trim(preg_replace('/\s{2,}/', ' ', $str)); }
For example we have text
<strong> The Times NY </strong>
But good result need be
<strong>The Times NY</strong>
I make regexp in php
function trim_text($str) { return trim(preg_replace('/\s{2,}/', ' ', $str)); }
Live and Be Free