gadiyasunny
New Member
I have a file that has the following columns.
Sr. LastName FirstName MiddleName PAN
I need to find errors in the PAN column. The rules are as under:
1. Form is AAAPA9999A i.e. First 4 Alphabets then 4 Numbers then 1 Alphabet.
2. Fourth Alphabet has to be "P".
3. Fifth Alphabet has to be the First letter of Lastname.
4. Total length has to be 10.
Please let me know some trick for validation of such formatting needs.
Sr. LastName FirstName MiddleName PAN
I need to find errors in the PAN column. The rules are as under:
1. Form is AAAPA9999A i.e. First 4 Alphabets then 4 Numbers then 1 Alphabet.
2. Fourth Alphabet has to be "P".
3. Fifth Alphabet has to be the First letter of Lastname.
4. Total length has to be 10.
Please let me know some trick for validation of such formatting needs.