Finding a term in a text + samples