Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

no special characters express validator

body.check("password", "...").matches(/^(?=.*d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/, "i");
 
PREVIOUS NEXT
Tagged: #special #characters #express #validator
ADD COMMENT
Topic
Name
8+3 =