This should be really simple. This directory C:/ Users/matt/Documents/*/xyz123
should match any directory in C:/ Users/matt/Documents/ "that contains a sub-directory"
called xyz123
.
Asked
Active
Viewed 3,737 times
0

ChrisF
- 134,786
- 31
- 255
- 325
-
Please don't vandalise your posts. – ChrisF Dec 08 '13 at 21:59
1 Answers
5
Assuming that you can access files in the format given, and this is standard regular expression syntax, then you need a .
before the *
, as in:
C:/ Users/matt/Documents/.*/xyz123
*
just means 0 or more of the preceding.
.
stands for any character except for the new-line character

Steve P.
- 14,489
- 8
- 42
- 72