Regular Expressions 101

Community Patterns

Key Value

0

Regular Expression
PCRE (PHP <7.3)

/
(?m)(?<_KEY_1>\w+[^:]+?)\s+:\s(?<_VAL_1>[^\r\n]+)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago