Regular Expressions 101

Sponsors

Library entries

log4j log parsing

Vote

2

Regular Expression
pcre

/
(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3}) (?<level>\S*) (?<processor>\S*) (?<serviceLayer>\S*):(?<lineNumber>\d*) - (?<mess>.*)
/
g

Description

Loading markdown...
Submitted by Robin Kearney - 8 years ago