This message was posted by a user wishing to remain anonymous
Hi All,
We need to create a match rule ensuring that the Id attribute is not null, not composed solely of whitespace, and not a string consisting of repeated identical characters (e.g., numeric values such as 0000, 00, or 000000000, alphabetic values such as XXX or xxxxx, or mixed-case repetitions like XXxXXX). Tried regex ^(.)(?!\\1+$).*$ but it does not produce the expected results, as it only compares the first character rather than validating the entire string. The expected behavior is as follows:
768976547 and 768976547 → Match: True
768976547 and 768976546 → Match: False
444444 and 444444 → Match: False
4444441 and 4444441 → Match: True.
-------------------------------------------