s/(fox.+)?(fox.+?forest)/${1}the $2/ [download]
In reply to Re^2: regexp find last word by Roy Johnson in thread regexp find last word by Murcia