Pattern to follow when Address Line1 starts with 3 same subsequent letters
Summary:
We have a requirement to validate Address Line1 if it starts with 3 same subsequent letters, then it must follow below pattern
a) field value may start with III (3 upper-case letter i), if fourth character is a dot and value length is > 4
b) or field value starts with "MMM-Str" (three times letter M, hyphen, upper-case s, lower-case t and r)
Tried the attached rule, getting error in expected pattern also.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):