Hex wildcard

P

Poseur

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

Helmut Weber

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
 
J

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
^| ?)
 
H

Helmut Weber

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/
 
K

Klaus Linke

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
 

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

Top