Matching Same Text Again & Again

Problem Name:
Matching Same Text Again & Again
Site:HackerRank
Links:
Tags:
Problem setters: