We construct a pattern that strictly matches each of the provided target strings exactly. We start with ^(?: and join all targets using the | alternation operator, escaping special characters like dots, plus signs, parentheses, hyphens, and brackets as needed. We then close with )$. The final regex pattern ensures that only these exact strings are matched, and nothing else in the text gets captured.