I have a directory structure like:
I want the regex to count the occurrences of "file.name" within sub-directories who's name length is > 1. So in the above example the count should be 2.
Here is what i tested with.
This did not work/produce any count:
This did not work either:
This worked but counted all contents of the directories.
This did not work:
This worked but gives me one more count than i want.
So can someone explain why the below examples don't work ?