I do not know much about regex, so I got this rule ready.
$break_title = preg_replace('/(?<=\>)\b\w*\b|^\w*\b/', '<span>$0</span>', $title);
return $break_title;
The problem is that it does not recognize the cedilla, so the string below:
construções importantes
It looks like this:
<span>constru</span>ções importantes