Wildcard search within strings?

E

Ed

Can I pull text into a string and search for a substring using wildcards?
Or can this only be done by setting a range in the document and searching
for text in the doc? I've got a situation that requires creating a new
document and writing text into it to perform a wildcard search. This would
be so much easier if I could hold all my text to be searched in a string and
perform a wildcard search totally within the string without ever touching a
document.

Ed
 
E

Ed

No.
~sigh~ Thought so.
However, that's what programming is for.
Create your own wildcard search for strings.
Or let's do it together with all the friends here.
At my level of non-expertise, I don't know that I'd be much help. I'd sure
enjoy watching, though, and asking a zillion questions! <g>

Ed
 
E

Ed

Whoa! I played with rgxExtract() and I feel like a kid with a learner's
permit and a brand new Ferrari! This thing ~rocks~!!

Just to be sure, I could call this from a macro by setting up
Target = string to search
Pattern = string or pattern to find
Which = occasion of match to return
and using
rgxExtract(Target, Pattern, Which)
is this correct?

Ed
 

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