Added mode of operation to extract a piece of text with the search words