re
'/\>[^\S ]+/s' => '>', 
'/[^\S ]+\</s' => '<',
'/(\s)+/s' => '\\1'