$_ = "fox comes and fox goes into forest"; s/(.*)(fox)/$1the $2/; print; [download]
In reply to Re: regexp find last word by chas in thread regexp find last word by Murcia