Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
^#+s*([^:]+)\s*:\s*(.*)$
/
gm

Description

catch options

Submitted by Marek R - 10 years ago