Help for this page
#! perl -sw use strict; ... (?:^[^8]*8[^8]*8[^8]*$)| (?:^[^9]*9[^9]*9[^9]*$) ]x and print "$_\n" for '0000' .. '9999';