How about haveing 2 checks?
In reply to Re: matching file names using regex by eric256 in thread matching file names using regex by Anonymous Monk