function regex() {
var regex = new RegExp(/^(009665|9665|\+9665|05|5)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/);
regex.test('0501234567'); // return true;
regex.test('0521234567'); // return false;
}
regex()
i put it the above code in a javascript file and attached it to the asp.net file
and this is my code in asp.net file :
what is the problem with my code? please help me ?