How Do I Trim Whitespace at the End of Text Lines?

If your next step (as mine often is) is to remove the Return characters to merge everything into one line, then there's a better way.

First, you replace the Return characters with a Space, then you squish the spaces into a single space. Like this:

image

That will do everything all in a single command, and very efficiently.