A well tested solution is to paste the text into the address bar of your web browser and it will remove the formatting, so you can then directly copy and paste it into your document.
Currently the most popular web browsers remove the formatting for internal use and appealing UI.
Comments
Interesting solution. Well, until now in order to remove the formatting, I was copying from PDF (for example) to Word Document, I have been using the Word Document option "Keep the text only". Your solution removes any type of formatting, new lines, etc. Thank you for sharing.
I have used this solution for years as well. For short snippets of text it is very useful indeed and much faster than other possible solutions!
Hi, I just wanted to tell you that I did not know this method and that I've been using it since you presented it. Although it is a kind of work- around, it actually saved me a lot of time. Thank you very much!
Your solution did save me a lot of time when trying to copy code snippets or text from PDF files. Thanks for sharing!