in reply to
matching in a line
How about $word =~ s/\:.*$//;
Comment on
Re: matching in a line
In Section
Seekers of Perl Wisdom