String-searching algorithm

Searching for patterns in text
Abstract

A string-searching algorithm, sometimes called string-matching algorithm, is an algorithm that searches a body of text for portions that match by pattern.

Wikipedia