# If you want something easy to read and # don't mind loading the entire file into memory. print grep { !/^\*{4}200[^6]/ } ;