I'm working on a validation that would require a user to enter only numbers that have to be exactly 9 numbers and be separated by lines. The below is working for that, but is it possible with straight RegEx to add criteria prevent a duplicate of any number set?
!REGEX(SomeCustomField__c, '^[0-9]{9}+(\r\n[0-9]{9}+)*$')
If there way you can prevent a number from appearing twice without Apex?
123456789
123456780
// Prevent duplicate of any number already entered
123456789
123456780