<?php $str = ' Hello World!'; $str = preg_replace('/\s+/', ' ', $str); echo $str;
You have javascript disabled. You will not be able to edit any code.