in reply to Re: regexp question
in thread regexp question

This does what I wanted:
my @x=/(\S.{0,19})(?=\s|$)/g;

Thanks to all