>> Given a regex "^$|^\d{1,7}$" , the rule says >> "A 0 length string OR a number 1 to 7 characters in length". that works in Perl. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance