Okular: Change so Double-Clicking Amounts Doesn't Include Dollar Sign?

In PDFs with dollar amounts (for instance, my bank statements), double-clicking on an amount always includes the dollar sign in the selection. Is there some way to have Okular not include that dollar sign? I’m trying to copy/paste the values into other software, and, in general, I only want the value. Not the dollar sign.

hi, welcome.

not that i’m aware of.

the double click text selection tool will simply grab a “word” which is defined by spaces on each side, so as long as the dollar sign hugs the number value it will be included in the “word” and so using paste into another application will paste the entire word unless you edit the paste selection in the clipboard, or in the application.

there are Actions you can program in the clipboard that are easily accessed from the clipboard menu, which could be programed to match for a leading a dollar sign and strip it off using sed or something.

also, depending on the application, there may be “paste special” options that only include the number value.