Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([a-z]|[A-z]){3,5}#(?<letter>H|F|Z|Q)[1-8]
/
g

Description

For a test PHP for my school

Submitted by Rick - 7 years ago