Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?<Section>[a-hA-H])(?<Class>(\s*|0)*[1-9]\d{0,1})\s*(?<Subclass>[a-hA-H])(?<Maingroup>(\s*|0)*[1-9]\d{0,1})\s*\/\s*(?<Subgroup>(\s|0)*[1-9]\d{0,3})
/
gm

Description

no description available

Submitted by Irina - 8 years ago