Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
2017-06-29\s06:50:(\d+).*?([A-Z]+).*?(?:\[(.*?[^]]+))
/
g

Description

2017-06-29\s06:50:(\d+).?([A-Z]+).?(?:[(.*?[^]]+))

Submitted by anonymous - 7 years ago