We create a pattern that uses alternation to match exactly each listed item and nothing else, anchoring at the start and end of the string. Special characters like periods, plus signs, parentheses, and question marks are escaped only as needed, ensuring an exact match for each target.