Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
HB HB is offline
external usenet poster
 
Posts: 8
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
HB HB is offline
external usenet poster
 
Posts: 8
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why dont MS just f**king re-write Word from scratch? Its dogsh*t Word Hater Microsoft Word Help 33 May 5th 23 02:52 PM
Change paper size; Word changes to invalid margins OhioTech New Users 10 July 6th 06 02:00 PM
Converting Word Perfect forms to Word forms elyse Microsoft Word Help 1 February 15th 06 08:17 PM
WP merge file to Word sstires Tables 4 February 14th 06 06:26 PM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM


All times are GMT +1. The time now is 05:52 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"