I am rather new to JavaScript and trying to teach myself javascript form validation.
Would it be possible to get a quick run through of different variables and how to prevent SQL injection?
I am currently using the variable to test if my passwords match some level of security. Would it be possible to see an example variable that requires a user to enter at least one number and at least one Upper case letter mixed in with their other lowercase letters.
var passw= /^[a-zA-Z]*.{8,15}$/;
Much obliged and thanks very much