When I copy a text in PDF file and paste it into Notepad or MS Word, then it looks like this:
This is an
example
of the
issue.
Original text looks as follows:
This is an example of the issue.
Is there any automated way to copy this text as a single line, without new lines?
                        
I solved this issue in MS Word: replace
^pwith(space).