in reply to
Removing first part of string with regex
You made the period optional. Get rid of the question mark.
/\.(\S+)/; print "$1\n";
[download]
Comment on
Re: Removing first part of string with regex
Download
Code
In Section
Seekers of Perl Wisdom