Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$
/
gm

Description

Requirements:

  • 8 characters
  • 1 number
  • 1 symbol

Note: Case Insensitive

Submitted by Srinivas - 4 years ago