need meaning of regex phrase

M

muybn

What does this RegEx phrase do?
^32^t^s

I have it in a wildcard search in a macro and the search "works," but I want
to know why it works and how.

The complete statement, which I use to find a "City, ST Zip" text pattern in
a wildcard search, is:
[A-Z][a-z/A-Z/.\,]{2,}[^32^t^s]{1,}[A-Z]{2}[^32^t^s]{1,}[1-9]{1}[0-9]{4}
 
M

muybn

Thanks, Graham. This and your referenced site was very helpful. I see that
there are differences between Word wildcard search items and standard Regular
Expressions.

--
Bryan


Graham Mayor said:
^32 - space
^t - tab
^s - non-breaking space

See http://www.gmayor.com/replace_using_wildcards.htm


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

What does this RegEx phrase do?
^32^t^s

I have it in a wildcard search in a macro and the search "works," but
I want to know why it works and how.

The complete statement, which I use to find a "City, ST Zip" text
pattern in a wildcard search, is:
[A-Z][a-z/A-Z/.\,]{2,}[^32^t^s]{1,}[A-Z]{2}[^32^t^s]{1,}[1-9]{1}[0-9]{4}
 

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