in reply to Regex match for Any number of words?
Why be negative?
perl -le 'print for " THIS is a variable number of words, spaces and + punctuation. " =~ /\w+/g' THIS is a variable number of words spaces and punctuation
In Section
Seekers of Perl Wisdom