You need to sign in to do that
Don't have an account?
Alex Christensen 1
Allow for spacing in RGEX rule
Hello,
I need to allow for spacing in this RGEX rule can someone identify what I need to remove? this is being used as a validation rule to prevent users from adding special characters in a contact.
REGEX(FirstName, ".*([^a-zA-Z]+|\\s{2,}).*") || REGEX(LastName, ".*([^a-zA-Z]+|\\s{2,}).*")
I need to allow for spacing in this RGEX rule can someone identify what I need to remove? this is being used as a validation rule to prevent users from adding special characters in a contact.
REGEX(FirstName, ".*([^a-zA-Z]+|\\s{2,}).*") || REGEX(LastName, ".*([^a-zA-Z]+|\\s{2,}).*")
https://developer.salesforce.com/forums/?id=906F0000000MNssIAG
Thanks!