Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
When I enter [^010] with 'Use wildcards' checked and click find Word replies
"The Find What text contain a range that is not valid." If I enter [^009] or [^011] Word replies "Word has finished searching the document. The search item was not found." Why is this? I need a workaround for this 'feature' as I have some files that contain a character sequence (ASCII 13,10,13,10) that I would like to delete. I could breakout my 1988 version of PC-Write and get this done but I really would like to use Word 2002. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
The combination of carriage return (13) and line feed (10) is represented
in Word by ^p when not using wildcards and ^13 when using wildcards. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "HB" wrote in message ... When I enter [^010] with 'Use wildcards' checked and click find Word replies "The Find What text contain a range that is not valid." If I enter [^009] or [^011] Word replies "Word has finished searching the document. The search item was not found." Why is this? I need a workaround for this 'feature' as I have some files that contain a character sequence (ASCII 13,10,13,10) that I would like to delete. I could breakout my 1988 version of PC-Write and get this done but I really would like to use Word 2002. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
It is pretty difficult to get an ascii 10 into a Word document but, if you
have some, you can find them without using wildcards - just look for ^13^10^13^10 if that's what you've got. As for why ^10 works when not using wildcards and doesn't when you are, I haven't a clue. There are other character codes which do this as well, some of them which one might want more often than ^10. -- Enjoy, Tony "HB" wrote in message ... When I enter [^010] with 'Use wildcards' checked and click find Word replies "The Find What text contain a range that is not valid." If I enter [^009] or [^011] Word replies "Word has finished searching the document. The search item was not found." Why is this? I need a workaround for this 'feature' as I have some files that contain a character sequence (ASCII 13,10,13,10) that I would like to delete. I could breakout my 1988 version of PC-Write and get this done but I really would like to use Word 2002. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
This worked exactly as advertised. Thanks for your help.
"Suzanne S. Barnhill" wrote: The combination of carriage return (13) and line feed (10) is represented in Word by ^p when not using wildcards and ^13 when using wildcards. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
Well, that's a relief! After reading Tony's reply, I decided I must have
been mistaken. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "HB" wrote in message ... This worked exactly as advertised. Thanks for your help. "Suzanne S. Barnhill" wrote: The combination of carriage return (13) and line feed (10) is represented in Word by ^p when not using wildcards and ^13 when using wildcards. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Word won't look for ASCII 10
There are a couple of points of interest he
* Paragraph marks are indicated by CR (ascii 13) characters - but they are still paragraph marks. * It is possible to have ascii 13 characters in a document which are not paragraph marks * AFAIK Word makes no specal use of ascii 10 characters but it is still possible to have them in a document * Without wilcards, ^p will find paragraph marks but not other ascii 13 characters * Without wildcards, ^13 will find paragraph marks and other ascii 13 characters without distinguishing between them * With wildcards, ^p won't work * With wildcards, ^13 works just as it does without wildcards * None of the above will find ascii 10 characters. These can only be found by entering ^10 without wildcards * I presume that HB was mistaken about the contents of his file. It is a common mistake and little wonder given the inconsistent (and technically 'wrong') computer implementations of typewriter terminology. -- Enjoy, Tony "Suzanne S. Barnhill" wrote in message ... Well, that's a relief! After reading Tony's reply, I decided I must have been mistaken. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "HB" wrote in message ... This worked exactly as advertised. Thanks for your help. "Suzanne S. Barnhill" wrote: The combination of carriage return (13) and line feed (10) is represented in Word by ^p when not using wildcards and ^13 when using wildcards. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Why dont MS just f**king re-write Word from scratch? Its dogsh*t | Microsoft Word Help | |||
Change paper size; Word changes to invalid margins | New Users | |||
Converting Word Perfect forms to Word forms | Microsoft Word Help | |||
WP merge file to Word | Tables | |||
How can Word display full path of a file in the title bar? | Microsoft Word Help |