Regular Expressions 101

6 Digit ID

-2

Regular Expression
PCRE (PHP <7.3)

/
\A[e][a-z0-9]{5}\Z
/

Description

Very basic. My first proper REGEX.

6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)

Submitted by BejasC# - 9 years ago