Regular Expressions 101

Community Patterns

Community Library Entry

16

Regular Expression
PCRE (PHP <7.3)

/
^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]+$
/

Description

no description available

Submitted by Deepan - 9 years ago