Bjorn Simonsen wrote in said:
Let me just add: I use PFE (see 1) for this when I need to edit/change
only one or a few files. Nice thing is I don't need to know what those
little black boxes represents (LF, a TAB stop, some other control
character, other special characters,foreign characters). I just copy
one of those little black boxes (making sure I only copy the "box" and
not any space before/after) to the clipboard and insert it in the
the "Find What" field in PFEs replace dialog (EDIT MENU -> REPLACE),
then insert whatever I like in the "Replace With" field: for example -
for a linebreak (see 2) - where PFEs special notation (see 3 and 2)
for a linebreak is "\n" - for "newline", I insert \n in the "Replace
With" field, and press the "Replace All" button.
If I have several files to edit this way (but not many, then I use a
search/replace utility) I might open them all at once, do them one by
one - never closing the search/replace dialog, just close each
document window when done with it and confirm save changes when
prompted, then continue on the next open document window until all
done.
Footnotes:
(1)Download link for PFE
<
http://www.download.com/3000-2352-904159.html>
Description:
<
http://www.pricelesswarehome.org/acf/programs/0587-PW.php>
(2) <
http://www.answers.com/topic/line-feed>
<
http://en.wikipedia.org/wiki/Line_feed>
(3) For PFEs special notation, click the HELP button while in the
replace dialog and click the Special Notation link there,
and you will find:
"To represent characters that you can't type in the Edit Find and
Edit Replace dialogs, and in the search string specified in the
EditFind() DDE command, use this notation:
\f represents a Form Feed character
\t represents a TAB character
\n represents the end of a line
\\ represents a single '\' character
To represent an arbitrary character code, use the notation
"\xnn", where "nn" represents two hexadecimal digits. The null
value "\x00" is not permitted."
All the best,
Bjorn Simonsen