in reply to
Regex: get first N characters but break at whitespace
my( $start )= /^(.{0,199}\S)\s/;
-
tye
(but my friends call me "Tye")
Comment on
(tye)Re: Regex: get first N characters but break at whitespace
Download
Code
In Section
Seekers of Perl Wisdom