I'm using alternation (|) to match each specific item exactly. For the phone numbers, I escape the special characters like parentheses and plus signs. For the dates, I match each specific format. For emails, I create patterns that match the exact structure of the two valid emails while avoiding the invalid ones. For the code pattern, I match the exact sequence. For the ID pattern with repeating groups, I use a backreference (\1) to ensure the last group matches the first group. By using alternation between these very specific patterns, I ensure only the target items will match.