Re: getting rid of multiple consecutive blanks ?
"Voytek Eymont" <[email protected]> Mon, 26 Oct 2009 13:16:22 +1100 (EST)
| Newsgroups | gmane.comp.handhelds.palm.peditors |
|---|---|
| Message-ID | <[email protected]> |
John, Paul and Jose, many thanks for all the tips.. following your Qs i've since 'analyzed' my problem better, my copied text /problems are largely LF/CR and TABs rather than consecutive spaces, sorry for not identifying this better in the first place... I'll try this later today, I'll also check/test both Bloater and Netfront to see what works better to grab the text in the 1st place meanwhile, a really dumb question.....: I'm still trying to *run* your 1st script, to identify the culprits... how do I run the script, I've managed to paste it to SctiptPad #1, but, that as far as I progressed... I've been trying to save the second script to ScriptPad #2 without any luck, in between looking at the manual... <quote who="John Markley"> > Quoting John Markley <[email protected]>: > > >> OK, after a little futzing around, there results a pScript which I >> think will probably do it for you. > > Stop, hold off. There is some problem with the Web Text Cleaner > pScript I posted earlier that I don't fully understand yet. Do not use it. > You can do the same thing safely manually by checking RegExp > OFF in pedit find'n'replace and running an all replace with linefeed > in the find field and a single space in the replace field, and then > checking RegExp ON in find'n'replace and running an all replace with " *" > (space space *) in the find field and a single space in the > replace field as Paul instructed. > > ~ John > > > > ------------------------------------ > > > Latest pedit/pToolSet/LapTopHack at > http://www.osuweb.net/~pc/pca/pc_all.zip > pedit/pToolSet/LapTopHack scripting info/resources at > http://www.peditors.com > Peditors Forum http://groups.yahoo.com/group/peditors > Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! > Groups Links > > > > > > > > > > -- Voytek ------------------------------------ Latest pedit/pToolSet/LapTopHack at http://www.osuweb.net/~pc/pca/pc_all.zip pedit/pToolSet/LapTopHack scripting info/resources at http://www.peditors.com Peditors Forum http://groups.yahoo.com/group/peditors Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/peditors/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/peditors/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/