Regular Expressions 101

Community Patterns

Capture subsubsub sections of constitution/bylays

0

Regular Expression
PCRE (PHP <7.3)

/
(^\d{1,2}+\.\d{1,2}\.\d{1,2}\.\d{1,2}$)
/
gm

Description

Will only capture patterns matching 4 levels, found at the beginning of a line if /gm tag is used

Submitted by bsmith - 8 years ago