How to clear a row?

Get a string from an xlsx file there, highlighted and on the border between colored and not colored text, extra space, as you can clear a row from this? Removing double spaces is not suitable. Convert string to UTF-8 doesn't help either
Not sure if I have found a solution.
April 3rd 20 at 17:36
1 answer
April 3rd 20 at 17:38
so you like the color changes, the previous space clean

Find more questions by tags PHP