Revision: 20499
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 17, 2009 10:03 by annalog
Initial Code
<?php $str = preg_replace('/\s\s /', ' ', $str); ?>
Initial URL
http://agaric.com/note/get-rid-extra-spaces-using-phps-preg-replace
Initial Description
Initial Title
Get rid of extra spaces using PHP's preg_replace
Initial Tags
Initial Language
PHP