Regular Expressions 101

Library entries

Monolog Line Regex

Vote

1

Regular Expression
pcre

/
\[(?P<date>.*)\]\s(?<channel>.*)\.(?<severity>.*):\s(?<message>.*)\s(\[|\{)(?<context>.*)(\]|\})\s\[(?<extra>.*)\]
/

Description

Loading markdown...
Submitted by anonymous - a year ago