I am trying to copy and paste text from a .pdf and cannot figure out the text replace action to add to Text Scrub to properly remove hyphens from hyphenated words across lines. Sometimes the hyphens are removed, but other times not. I can replace manually but I honestly face this issue at least 10 times a day so I would like to automate it.
I've attached a .pdf page to reproduce the issue. Copy, scrub, and paste of a section in the pdf gives me:
"enable us to predict, dis - cover, or explain"
I would like it to paste "discover", of course.
I tried "Text Replace" to find ` - \n`, replace with nothing, with "allow special characters" checked. But I got the result above.
Thank you in advance for your help!
EDIT: no reply needed. I figured it out, needed \r\n rather than \n.
Nov 5, 2021 (modified Nov 6, 2021)
•
#1