This will generate Peter’s regex pattern for any string as input, in case the word you are searching for is a variable:
"\b" + WordToSearch.First + "(([" + String.Join("", (WordToSearch.Substring(1, WordToSearch.Length-2)).Distinct()) + "]+[\s\S]*?)*?)" + WordToSearch.Last + "\b"