Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?'Date'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\s*\[(?'Thread'\d*)\]\s*(?'Level'ERROR.|WARN|INFO|DEBUG)\s*(?'Assembly'.*)\s*-\s*(?'Message'.*)
/
gm

Description

SV Web Api Log

Submitted by Garry West - 8 years ago