in reply to Re: Needing to take out 3rd word of stingin thread Needing to take out 3rd word of sting
$str =~ s/(\w+\W+\w+\W+)\w+/$1/; [download]