Thread:Project:Support desk/Article names only numbers with length of 8 or 13

I want the article names to be valid EAN-8 or EAN-13 codes. Is there a way to permit only article names who match that pattern?