+ Start a Discussion
Srishti Gupta 8Srishti Gupta 8 

Validation Rule to Avoid Special characters except

I need to put below validation in description field -
Allowed characters should be - a-z A-Z 0-9 Space and Special Characters are & ( ) - . and the description field  must start with a-z A-Z 

can anyone help me with regrex expression for this validation?

Srishti Gupta 8Srishti Gupta 8

I have tried this regrex expression but second condition is not getting executed.

NOT(REGEX(  Favoring__c ,"^[a-zA-Z0-9,. ()&-]{1,}$" ))
 

CharuDuttCharuDutt

Hiii Seishti

NOT(REGEX( fieldName , "^[a-zA-Z0-9_]*$"))
Srishti Gupta 8Srishti Gupta 8
Could you please let me know why are we using underscore