N
Neil Humphries
I have over 100 files to convert. I need to read a source file containing
multiple lines with the format "text to find TAB text to replace with". I
initially thought of using a .CSV file but encountered several problems:
1 The text strings themselves contain spaces and commas;
2 The text strings contain non-breaking spaces ;
3 The text strings contain non-breaking hyphens;
4 ASCII .txt files won't handle non-breaking spaces or hyphens.
5 Unicode .txt files won't handle non-breaking hypens either unless the
hyphen character is replaced with the coding from the insert symbol dialog
box.
6 Unicode .txt files don't show the non-breaking spaces any differently
than regular spaces making additions to or maintenance of the file almost
impossible.
In Word I can easily distinguish the different characters. How can I read a
Word .doc file and use each line to populate a find & replace operation?
I will need to open each file in a directory in turn and loop through all
the find & replace pairs for each file.
I can use TAB as a delimeter. If
multiple lines with the format "text to find TAB text to replace with". I
initially thought of using a .CSV file but encountered several problems:
1 The text strings themselves contain spaces and commas;
2 The text strings contain non-breaking spaces ;
3 The text strings contain non-breaking hyphens;
4 ASCII .txt files won't handle non-breaking spaces or hyphens.
5 Unicode .txt files won't handle non-breaking hypens either unless the
hyphen character is replaced with the coding from the insert symbol dialog
box.
6 Unicode .txt files don't show the non-breaking spaces any differently
than regular spaces making additions to or maintenance of the file almost
impossible.
In Word I can easily distinguish the different characters. How can I read a
Word .doc file and use each line to populate a find & replace operation?
I will need to open each file in a directory in turn and loop through all
the find & replace pairs for each file.
I can use TAB as a delimeter. If