Wanted to convert
into
User may enter many variants
< br /> < br>
...and more.
So I think it will be better next
$str = preg_replace('/(<[^>]*?br[^>]*?>\s*){2,}/i', '', $str);