Search
 
SCRIPT & CODE EXAMPLE
 

HTML

password pattern html regex

<form>
Password <input type="text" pattern="/^[a-zA-Z0-9!@#$%^&*_=+-]{8,12}$/g" />
<input type="submit" value="Submit" />
</form>
Comment

password regex for html

<input type="text"
       pattern="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[d]){1,})(?=(.*[W]){1,})(?!.*s).{8,}$" />

This regex will enforce these rules:
At least one upper case English letter
At least one lower case English letter
At least one digit
At least one special character
Minimum eight in length
Comment

PREVIOUS NEXT
Code Example
Html :: fa fa-home 
Html :: footer ionic 
Html :: default date in html 
Html :: jquery Uncaught ReferenceError: $ is not defined 
Html :: open link in a new tab hmtl 
Html :: bootstrap 5 line height 
Html :: body on start do function javascript 
Html :: align image/text 
Html :: basico html 
Html :: html page scroll horizontal problem 
Html :: can get input value from dangerouslysetinnerhtml 
Html :: randome code 
Html :: tailwind css link 
Html :: how to use pyscript in html 
Html :: html favicon error code 
Html :: css align image right 
Html :: bootstrap radio 
Html :: how to display a link in html 
Html :: tfoot renders after thead and before tbody 
Html :: html dropdown 
Html :: Disable auto submit when hitting enter key 
Html :: html note 
Html :: how to make an input not focusable in html 
Html :: mat button copy link 
Html :: google translate for website html code 
Html :: component in ejs 
Html :: data list in input tag html 
Html :: bootstrap nav search form 
Html :: how can we open file manager by html 
Html :: html multiple checkbox list 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =