Word won't look for ASCII 10

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
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.
 
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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
There are a couple of points of interest here:

* 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top