Processing Ajax...

Close Dialog


Close Dialog

Close Dialog

Using regular expressions to find subfolders that match a pattern

User Image
Brian Gawith
2 discussion posts
I need help finding any sub folders that match a pattern but only the ones that are under other folders that also match that pattern. For instance I need to find all folders that start with a 5 digit number followed by an underscore, but I only need to find those folders if they are under another folder that starts with a 5 digit number.

The regular expression to find the first tier folder with 5 digits is easy enough I just put [0-9][0-9][0-9][0-9][0-9]_ in the Include files option, this will also get me the sub folders as well but the I have to filter the Path results to really get what I'm looking for. Anyone know what the proper expression should be to get only the 2nd tier 5 digit folders?
Mar 18, 2014  • #1
Jon Tackabury (BFS)'s profile on
Hi Brian, unfortunately this isn't possible with FileSeek right now. FileSeek only matches the current filename, and doesn't match against the parent folder when searching. We are going to investigate what we would need to change in order to add support for this, but I can't make any promises. :)
Mar 20, 2014  • #2
Was this helpful?  Login to Vote(-)  Login to Vote(-)