Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-04-12 06:38
Flavor·ECMAScript (JavaScript)

/
^(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[a-zA-Z\d#?!@$%^&*+`~._\-\\\/;'"<>{}[\]]).{6,}$
/
Open regex in editor

Description

This regex checks if atleat a character and a number is there regardless of any special characters in the list

Submitted by Akshay Shah