Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(\S+?)\s*=\s*\"([^\t]+)\"\s*(?>;\s*\n)
/
gU

Description

Key/Value pairs with multiline support

Submitted by Alexander Krutov - 9 years ago