You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Pattern to follow when Address Line1 starts with 3 same subsequent letters

Received Response
31
Views
4
Comments

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):



Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!