Jump to content

Recommended Posts

Posted

i have a pdf who i need study, but this PDF have spaces on words. WHen reading i cannot see. But when i send to clipboard (copy) like this:

pract i cal l y

would: practically

i need correct word why i need translate this and it have more than 100 pages.

If i remove space characters with autoit i loss correct spaces

Any way?!?

Thanks for attention

Posted

nope. not that i know of. you can only strip ALL spaces which would make it unreadable.

but maybe...... can you directly copy a sample text to here ?

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

Posted (edited)

In Foxit Reader when i select:

sample_pdf.jpg

I think it have a dif font to this little spaces, but space char code is the same =/

I tried with the StringStripWS with flag 8

Work but make unreadable (remove really including correct spaces)

I think have a way. Correct spaces (who i see) have two spaces, incorrect have one. I need create a code to do it. But i no know how to use StringRegExpReplace().

But ty i will try

i think best way is:

<Match any character except space><Match space><Match any character except space> and transform in

<Match any character except space><Match any character except space>

Edited by GordonFreeman
Posted (edited)

check if those are normal spaces ( chr(20) ). if not, you do have a chance.

Edited by Edano

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

  • Solution
Posted

first stringreplace (string,"  ","%%")

second stringreplace (string," ","")

third strtingreplace(string, "%%"," ")

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...