Substring Matching Pattern Words