This has nothing to do with personal Social Security #'s.
I'm checking the pattern of resaler tax id by state, since each state's resaler tax id pattern is different. I should have been more specific. I work for a wholesaler and we require a resaler id(if applicable - some states don't have sales tax) to become a customer and during the application process I just want to match their input to their states resaler tax id pattern.
The reason for this is b/c we get a lot of end consumers who will just populate bogus data trying to order from us and it takes our staff a lot of time to validate people who cannot purchase from us. I thought if I could throw a flag saying their resaler ID doesn't match their states pattern - it would help stop end consumer submits(not all but some). We do have it noted in many places on our application but it's amazing how many people just fill out the form and try ordering through our application process.... LOTS.
I guess in my mind I was trying to do something similar to validating a phone number or email address.
Tomorrow I will follow-up w/ our accounting/credits dept. and seeing if I am doing something wrong. Nothing is out there at all - just in the idea process.
Thanks for the feedback.