Can I keep ‘-’ hyphen in text extracted from PDF using PDFTron

WebViewer Version: 8.1.0

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? Yes
Does the issue only happen on certain browsers? no
Is your issue related to a front-end framework? No
Is your issue related to annotations? No

How can I keep ‘-’ hyphen in text extracted from PDF using PDFTron

I am facing an issue with the ‘-’ hyphen as it’s removed from the document if we have the hyphen at the end of the sentence. e.g as highlighted below in the image

It’s coming like the below one if I paste it to notepad/clipboard. I need to keep the ‘-’ hyphen as it is to perform the text comparison


this happens every time when I copy a line of chars ending with char ‘-’ (minus) to the clipboard and paste it somewhere else leaving the ‘-’ hyphen out.
Could please tell me how to resolve it?

Happy new year. I just want to double check that when you copy paste a text with hyphen from the Webviewer and paste into notepad, it removes the hyphen automatically but you want the hyphen as it is??

What’s more, could you give me a sample document for me to do more investigation??

Best Regards