in reply to Re: regex search and replace issue
in thread regex search and replace issue
Or by using the case insensitivity modifier to the regex.
$Message =~ s/^db //i;
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom