this regex is used to test the password that support at least one lower case and upper case alphabets and numbers. this regex is not support 6 to 20 characters support.
/(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/
/*
var result = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/;
return result.test(value);
*/