Wanted to convert
into
Mine is almost exactly the same as levik's (+1), just accounting for some different br formatting:
preg_replace('/(]*>\s*){2,}/', '', $sInput);