Regular Expressions 101

Community Patterns

jeems

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<monthname>^\w{3})\s(?<daynumber>\d{2})\s(?<logtime>.{8})\s*(?<entrytype>((NMAS-[0-9].....).|log4cxx:|Started|DHLog:|NetIQ eDirectory CEF|SASL|NetIQ PKI|LDAP Agent|SPM DClient|NMAS|Mandatory Access Control|NDS iMonitor|Information:|Graded Authentication Management)(?<value>.*))
/
gm

Description

ndsd.log

Submitted by Jim Willeke - 3 years ago