Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?!^[a-zA-Z]*[0-9]?[a-zA-Z]*$)^([a-zA-Z][a-zA-Z0-9]{4})$
/

Description

Matcha il nome di un articolo (primo carattere, almeno 2 numeri=

Submitted by DD - 10 years ago