Paste without formatting and removing line breaks

Share your favorite FastKeys commands
Post Reply
Posts: 6
Joined: Apr 29th, ’21, 14:50

Post by Ramakrishna » May 4th, ’21, 05:59

I would like to have the paste without formatting to remove line breaks also. When I copied some text from a PDF, I need to use a site to remove the line breaks. Is there any way that can be performed with fastkeys?
User avatar
Posts: 657
Joined: Nov 24th, ’15, 23:39

Post by Tom » May 4th, ’21, 16:02

This command replaces new line characters in the clipboard content with spaces:

Code: Select all

StringReplace, Clipboard, Clipboard, `r`n, %A_Space%, All ... eplace.htm
Post Reply