in reply to match a word then exit

Thanks to all who took the time to reply to my post.