Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^[0-9]+[a-zA-Z]$
/
g

Description

Matches things like;

38A 17b 950

But not things like;

aa bb CC

Submitted by Jordy van Domselaar - 7 years ago