My goal is to get rid of "bad" CRs and trailing spaces at once, so I am executing the following command:
The problem is that if at the end of the line there is a
^M and trailing spaces, only the
^M is removed.
Is there a way to replace both parts of the OR expression on the same time?