Could I have script to trim spaces and replace end of the line with * (or any character) for selected text lines only.
Input
Output
Input
Code: Select all
one two blah
th ree
A b bb
Code: Select all
onetwoblah*
three*
Abbb*