Is it possible to create a mod 11 check digit routine with a regex statement?
THe nubmer is a 10 digit number,
Step 1: A = (2nd number * 2) + (3rd number * 4) + (4th number * 8) + (5th number * 5) + (6th number * 10) + (7th number * 9) + (8th number * 7) + (9th number * 3))
Step 2: B = A / 11 (ignor remainder)
Step 3: C = B * 11
Step 4: D = A - C
Step 5: 11 - D must = the 10th digit