[help]need To Remove Spaces & New Lines From A Doc

Hi everyone!

I have a document from which (for purposes you will know in not so long) i would like to automatically remove all spaces and line breaks and make it a big pile of unformatted chain of characters.

I tried with word's and notepad's search and replace looking for " " and replacing it with "" that, however, still leaves me with all the line breaks and i seriously have no clue how to automate that.

I need a lot of text and thus, doing it manually is not an option.

Any ideas?

As usual, thank you in advance for your help

// Seph

#186898

Try to replace "^p" with "" without the commas obviously :)

#186904

Wicked :o

Now, i still get some spaces between the characters; i try to replace " " with "" and no luck, it apparently, finds 0 results.

Any clues?

Thanx spngbb

#186905

if you do have word, this seemed to work (i have v. 2002)

go into replace, click the button 'More'

click the button 'special'

select 'paragraph mark' (^p)

in the replace with field, do nothing

click 'replace all'

then select under special 'white space' (^w)

#186907

strange, when i replace " " with "" all the spaces are gone :S

I have office 2002.

#186908

That did the trick WookieTV :D :woot:

I guess you do learn something everyday!

Thank you for the very quick help guys.

I really appreciate it.

@spngbb: apparently, the spaces are gone, as i thought they did, but there was some white space that needed to be removed with the ^w.

#186909