This pattern matches the specified targets by combining multiple alternatives. It uses character classes and groups to match exact formats of emails, phone numbers, IDs, dates, and custom codes without false positives. Emails are matched with [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}, phone numbers with +1-[d]{3}-[d]{3}-[d]{4}|([d]{3}) [d]{3}-[d]{4}|d{4} d{4} d{3}, IDs with REF-[d]{3}/[d]{3}|ID-[d]{3}-[d]{3}|ID-[d]{3}-[d].[d]., dates with d{1,2}/d{1,2}/d{4}|d{4}-d{2}-d{2}|d{2}.d{2}.d{2}, and custom codes with [A-Z]{4}d{5}|d{4}[A-Z]{4}|[A-Z]d[A-Z]d[A-Z]d[A-Z]d