Paste without formatting and removing line breaks
-
- Posts: 6
- Joined: Apr 29th, ’21, 14:50
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 https://www.textfixer.com/tools/remove-line-breaks.php to remove the line breaks. Is there any way that can be performed with fastkeys?
This command replaces new line characters in the clipboard content with spaces:
https://www.autohotkey.com/docs/command ... eplace.htm
Code: Select all
StringReplace, Clipboard, Clipboard, `r`n, %A_Space%, All