Thread: [Solved] Wild card confusion
View Single Post
 
Old 08-22-2018, 07:26 AM
Ulodesk Ulodesk is offline Windows 7 64bit Office 2013
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Wild card confusion

Hello. I'm experimenting with simple wildcard searches. My document consists of the following list:

John Newman
Al Framly
Jack Willis
Bill Bond
Oliver James
(<[!O][A-z]{2,}) ([A-z]{2,})^13
(<[!O][*]{2,}) ([A-z]{2,})^13

The first of the two search commands finds the first, third, and fourth names, but skips the second for some reason I can not fathom.

The second search command, which I thought would also find the two search command strings, since they start with a non-alphabet character, finds nothing, nor does it work if I replace the asterisk with a ?, or remove the <[!O].

I would greatly appreciate an explanation.
Reply With Quote