Brute Force search for a pattern within a text string