in reply to Limit long words and numbers

String consisting of 12 non-spaces: /^\S{12}$/. String consisting of at least 12 non-spaces: /^\S{12,}$/. Just numbers: /^[0-9]+$/.

Replies are listed 'Best First'.
Re^2: Limit long words and numbers
by htmanning (Friar) on Apr 12, 2012 at 07:36 UTC
    Really appreciate your help. This worked.
    &error1(banned) if ($organization =~ /^\S{11,}$/);
    Thanks.