0

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.

ChrisF
  • 134,786
  • 31
  • 255
  • 325

1 Answers1

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