Regular Expressions 101

Community Patterns

Key/Value pairs with multiline support

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