1

I have used the below code for check the field value should be the title case. it is working fine but when I entering capital letter for all text, it is not throwing the error. but it should through.

My Code: i have used the below link code

FYI : How to validate the opportunity name by using the Regex method in Salesforce Validation

e.g : when i enter the FACEBOOK, It should not allow. it should be Facebook.

  • since the link you posted has multiple regex answers - post the one you are using here. I presume you have tried it with an online regex tester – cropredy Jul 12 '15 at 1:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.