Regular Expressions 101

Sponsors

Library entries

0
pcre2

Picking 2nd 1st Line

Picking 2nd 1st Line
Submitted by Picking 2nd 1st Line - 5 months ago

kettle log -> fluentd

Vote

0

Regular Expression
pcre2

/
(?<time>[^ ]* [^-]*) - +(?<name>[^-]*) - (?<message>[^ ]*.*$)
/
gm

Description

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