question about regular expressions

M

muyBN

In a 4GuysFromRolla article, it was explained that the use of regular
expressions can be used to search for different patterns. I would like to
know if they can as well be used to evaluate text in a selection or range,
not just for searching text. For example, I would like to know if there is a
way to replace one of the asterisks in the code below so that it reads "any
number" with a regular expression instead of "any combination of characters"
with the wild-card asterisk.

With Application.FileSearch
..FileName = "*listings*.csv"
 

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