Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
NOT( REGEX( PAN_Number__c , "[A-Za-z]{5}[0-9]{4}[A-z]{1}") )
NOT( REGEX( PANCARD__c , "((([a-zA-Z]{5})\\d{4})[a-zA-Z]{1})"))
NOT( REGEX( PASSPORT_NUMBER__c , "(([a-zA-Z]{1})\\d{7})"))
Please use the below validation rule, Which works fine for me. Indian Pan card validation Formula: Indian Passport Validation Formula: Hope this will help you with the above issue.
Kindly mark this as solved if the information was helpful.
Thanks,
Nagendra
- 5th character of PAN# can be either one of the following A/B/C/F/G/H/L/J/P/T/K .
- All alphabet should be in CAPS.
- Length should be 10
Use: