It's not clear what you are actually doing. You have a regex,
but you are also talking about globs. What are you doing with
the glob? What are you matching against what, and what matches
and what doesn't? /[A-Za-z]{2}_\w{2,5}/ matches
any string that contains two letters (either case), followed
by an underscore, followed by at least 2 word characters.