title: Remove all excessive line breaks at end of cell
body: <p>In google sheets i am using the function TRIM() to remove leading and trailing spaces in text, but I also want to remove line breaks at the end of each cell/text, basically excessive line breaks that were left there by mistake or w/e. Is there a way to go about this?</p>
  <p>Posting picture that shows what I want.
  <a href="https://i.stack.imgur.com/xUp5o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xUp5o.png" alt="enter image description here" /></a></p>