Question: Login Cancel OK function checkUname(uname) { var returnValue = false; var valid_name = /^[A-Z a-z 0-9]{8,12}$/; if (!valid_name.test(uname.value)) { alert (username must ... ); }

Login

1.The username should have between 3 and 20 characters and contain only letters and numbers [a-Z, 0-9]

Re-write the regular expression below.

2.The password should have a minimum of six characters and must contain at least one upper-case letter and one number.

Re-write the regular expression below.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!