convert C# regular expression to javascript

Jun 16 2013 9:00 AM
Hi,

This code is working for c#. when we are coming to java script it is not working.
 
regular expression in c#.
string regExp ="^(?!(\d)\1+$)(?!(012345678901|123456789012|234567890123|345678901234|456789012345|567890123456|678901234567|789012345678|890123456789|901234567890)$)(?!\d{9}000$)\d{12}$"
 

Somebody help me how to convert this into JavaScript.
Please let me now any conversion tool is there.
 
Thanks in advance.

Regards,
Ranganath Potluri


Answers (3)