Validation rule for Numbers and Special Characters in Salesforce

Validation rule for Numbers and Special Characters in Salesforce

If your field Should contain number and (‘,’,’;’, and ‘/’) special characters alone, use the below validation rule

Validation Rule:

NOT(
        REGEX( SLASerialNumber__c , “[0-9,;/]*”)
        )

Cheers!!!

Leave a Reply