Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-05-16 10:08
Flavor·PCRE (Legacy)

/
(?=.*[0-9])(?=.*[a-zA-Z]).*
/
gm
Open regex in editor

Description

At least one character and one digit, ignoring the order in which they appear.

Submitted by Loïc [TwystO] Liné