Searching pattern in text is a very common task in computer science. It is used in many applications like spell checkers, text editors, and many more.
Visit the following resources to learn more: