Answered step by step
Verified Expert Solution
Question
1 Approved Answer
hellow , How to write code html ,css and javascript for valdation phone number by this code: 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
hellow , How to write code html ,css and javascript for valdation phone number by this code:
var regex = new RegExp (//(0096659665+9665 055)(503649187)([09]{7})$/); regex.test(' 0501234567); // return true; regex.test('0521234567'); // return false 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;
Note that I need many fields of the same type
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started