Skip to main content

I've built a validation rule in the past where special characters were not allowed at all...I copied it from somewhere.  Now I am trying to create a VR that restricts only specific special characters. I have read a few articles on creating regex but it's not clicking.  Is anyone able to help with this??

 

^:*~%<>={}/\[]

 

#Validation Rule #REGEX

6 answers
  1. Jul 12, 2021, 6:30 PM

    I tried updating to NOT(REGEX(Company,"^[a-zA-Z0-9^:*~%<>={}/\[]]*$")) and still get syntax error; wondering if it's because of the square brackets??

0/9000