I am trying to use the below regex in my validation rule.
OR(
REGEX(BillingStreet ,'(.+\n){4,}'),
REGEX(BillingStreet, '.{60,}')
)
I am attempting to force the street address to not allow more than three lines and to also disallow any line from being 60 characters long.
It does not seem to be firing at all even though RegExr validates it. Any salesforce specifics I need to know or is my rule wrong?
Thanks!