my (@words) = /^\s*(\D+\b)+\s*$/;
Just one regex, and should not match if the line contains digits.
pike
In reply to Re: Reg Ex help by pike in thread Reg Ex help by Anonymous Monk