Regular expression for validation

Jun 15 2013 1:49 PM
 Hi,

I need to validate New jersey Taxpayer Identification Number
 
The length of this control 12 digits.

The validation scenarios:

This control contains only 12 digits.

all 12 digits are not same.
Ex: 111111111111
..
999999999999
it should not be sequence order
like 123456789012

It should not contain last three digits are zeroes
like 543044885000

I need one regular expression for all the above scenarios.

Thanks' in advance.

 
--
Best Regards
Ranganth potluri

Answers (3)