Submitted by Vievin t3_10gwlin in LifeProTips
CapnHanSolo t1_j560szk wrote
Reply to comment by Dreunin in LPT: You can use your browser's URL bar to get rid of line breaks when copy/pasting from a PDF. by Vievin
What if I just press ctrl+f on the pdf and use the find bar. Would that work
Bunanuhs t1_j57qgrq wrote
You use the replace function and replace "^p" with a single space.
dubbzy104 t1_j562vix wrote
Probably not. Notepad++ and other text editors look for the new line character “\n”, whereas most pdf search tools will look for the literal characters \ and n
DigitalSteven1 t1_j564f9s wrote
Just a minor correction, the almost universal escape character is a backslash. i.e. it's "\n" rather than "/n."
Windows does some funny stuff in cmd and powershell, being caret (^) and backtick (`). Afaik "/" isn't used anywhere, though.
dubbzy104 t1_j565brs wrote
Gah, you’re right! I blame it on me being on mobile so the key locations are different, and me being sleep deprived. Surely it’s not because I’m a bad programmer…
Viewing a single comment thread. View all comments