Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?<gems_date>^([0-9]{2}\.[0-9]{3}\.[0-9]{2}\.[0-9]{2}\.[0-9]{2}\.[0-9]{3}) )(?<gems_log_name>(\S)*) (?<server>(\S)*) (?<agent>(\S)*) (?<I>(\S)*) (?<log_file_name>([^:])+)\:(?<skip2>([^:])+)\:
/
gm

Description

no description available

Submitted by anonymous - 4 years ago