javascript password validation special character
^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$
^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})function CheckPassword(inputtxt)
{
var paswd= /^(?=.*[0-9])(?=.*[!@#$%^&*])[a-zA-Z0-9!@#$%^&*]{7,15}$/;
if(inputtxt.value.match(paswd))
{
alert('Correct, try another...')
return true;
}
else
{
alert('Wrong...!')
return false;
}
}
Also in JavaScript:
- angular material chips
- nodejs cluster example
- nested json schema mongoose
- change the focus to next in angular forms
- What is strict mode in Java Script ?
- convert a string to array in javascript
- navigation in react native
- node silent print to themral
- react toastify does not have design
- node js with express medium
- React Components
- formato json
- how to give css style in javascript
- jquery preload images
- settimeout jquery
- angular navigate using component
- multiple case switch javascript
- como checar valor do input checkbox angular
- konva line thickness
- redirect javascript
- nodejs get file size
- evaluatejsonpath array json
- jquery replicate div on drag
- js disable event listener