Regular Expressions 101

Library entries

PHP Multiline Error Log

Vote

1

Regular Expression
pcre2

/
^\[([\d]{1,2}-[\w]{3,9}-[\d]{4}\s+[\d]{2}:[\d]{2}:[\d]{2}\s+[A-Z]{3,4})\]\s((?s).+?)(?=(?:^\[.+\])|\Z)
/
gm

Description

Loading markdown...
Submitted by Anton Ukhanev - 2 months ago