Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

Hex wildcard

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Poseur - 18 Jan 2005 06:52 GMT
One commonly uses "^13" for CR.
I've got some docs that have a "A0" hex character (I don't
even know what that is" but searching, either in the Find
dialog or programmatically, for "^A0" does not find it. I know
that is what it is cause I've open the document in a hex
editor.
Anyone know why that would not work? Is there another way to
designate hex characters via wildcards if they are not control
characters?
In real Regex, "\xA0" works.

Signature

Poseur
"That's just kooky talk." --Kramer

Helmut Weber - 18 Jan 2005 08:39 GMT
Hi,

that is a non breaking space,
Search for the decimal value
^0160
or
^s

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
Jeff - 18 Jan 2005 12:46 GMT
While on that subject, is there a universal hex wildcard for "White Space"

In British English the search character is ^w but German is ^l (or is that
^| ?)
Helmut Weber - 18 Jan 2005 13:03 GMT
Hi Jeff,

>While on that subject, is there a universal hex wildcard for "White Space"
>
>In British English the search character is ^w but German is ^l (or is that
>^| ?)

so called, "white space" is ^w in German versions, too.
Which has nothing to do with hex or not hex.
^l  Chr(108)
is a line break, in German and in English versions.
I doubt whether | Chr(124) has any meaning in wildcard searches
at all.

Greetings from Bavaria, Germany

Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
Klaus Linke - 21 Jan 2005 22:34 GMT
Hi Julio,

Maybe it was 0A, not A0?

That'd be a "line feed", and you can search for ^10 (both with and without
wildcards).

Though Word usually turns those into regular paragraphs ^p anyway...
If it doesn't at first, it probably will when you save as a document.

Regards,
Klaus

> One commonly uses "^13" for CR.
> I've got some docs that have a "A0" hex character (I don't
[quoted text clipped - 10 lines]
> Poseur
> "That's just kooky talk." --Kramer
Poseur - 22 Jan 2005 00:08 GMT
> Hi Julio,
>
> Maybe it was 0A, not A0?

Helmut steered me right. It's "non-breaking space" and the Word
symbol is ^s.

Signature

Poseur
"That's just kooky talk." --Kramer

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.