check filename pattern

Hi again,
is it possible to create a ruleset based on a filename pattern?
What I have is filenames in this pattern: N12345678_ABCDEFG_1
Where, 'N' is a Single letter,
'123' is a range of exactly 8 digits followed by an underscore,
'ABC' is a name no longer than 9 letters followed by an underscore,
and '1' is a a single digit.
I want the rule to work on that folder ONLY if it is a perfect match, like 'D98765432_FILENAME_4'.
I have part of it working, but the 'ABC' range is something I don't know how to fix. There's no range token to be set, or should I create and 'ANY' nested rule re-use the same rule 8 times, increasing by 1 letter each time?
Thanks!
is it possible to create a ruleset based on a filename pattern?
What I have is filenames in this pattern: N12345678_ABCDEFG_1
Where, 'N' is a Single letter,
'123' is a range of exactly 8 digits followed by an underscore,
'ABC' is a name no longer than 9 letters followed by an underscore,
and '1' is a a single digit.
I want the rule to work on that folder ONLY if it is a perfect match, like 'D98765432_FILENAME_4'.
I have part of it working, but the 'ABC' range is something I don't know how to fix. There's no range token to be set, or should I create and 'ANY' nested rule re-use the same rule 8 times, increasing by 1 letter each time?
Thanks!