GordonFreeman Posted August 10, 2013 Posted August 10, 2013 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 Frabjous Installation
Edano Posted August 10, 2013 Posted August 10, 2013 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]
GordonFreeman Posted August 10, 2013 Author Posted August 10, 2013 (edited) In Foxit Reader when i select: 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 August 10, 2013 by GordonFreeman Frabjous Installation
Edano Posted August 10, 2013 Posted August 10, 2013 (edited) check if those are normal spaces ( chr(20) ). if not, you do have a chance. Edited August 10, 2013 by Edano [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]
Solution Edano Posted August 10, 2013 Solution Posted August 10, 2013 first stringreplace (string," ","%%") second stringreplace (string," ","") third strtingreplace(string, "%%"," ") [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]
GordonFreeman Posted August 10, 2013 Author Posted August 10, 2013 (edited) Lol, it Work now. Big Thanks Edano Edited August 10, 2013 by GordonFreeman Frabjous Installation
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now