Pregunta de entrevista de Bell

How would you isolate/identify a specific pattern in a large text document?