Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-03-17 15:49
Flavor·JavaScript

/
.*^(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*\W).*
/
gm
Open regex in editor

Description

be at least 8 characters with at least 1 Capital , 1 Lowercase , 1 special char , 1 number

Submitted by founet