Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\s\s+((\S+))\s+((\S+))\s+{\s+\s+(((((\S+))((\S+)\s+(\S+))|\s+((\S+)\s+?:(.))|\s+((\S+)\s+(\S+)\s+?:(.))|\s+(func\s+?:\s+?(([a-z],)*([a-z]?)\s+?{\s+($x=2)}\s+?))|\s+(func\s+(\S+)\s+?:\s+?(([a-z],)*([a-z]?)\s+?{\s+($x=2)}\s+?))|))+)\s+}
/
gm

Description

no description available

Submitted by anonymous - 6 years ago