Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?:[a-zA-Z\s]*:)\s*(.*)
/
gm

Description

keyword : value

Submitted by anonymous - 9 years ago