Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?<file_name>(?<id_hx>\d{10})(?<date>\d{8})_(?<hour>\d{6})_(?<ms>\d{6}).*\.LOG\n)(?<hash>\d{0,10}\n)(?<entry>(?:(?:(?:.*),(?:\d{0,3}.){0,})\n){0,})(?<md5>\w{0,33})$
/
gm

Description

no description available

Submitted by anonymous - 8 years ago