in reply to Split words

Another way to do it: join("\n",split(/(monks)/,$string));
Sorry if my advice was wrong.