Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
SID_W_MAX_TRAN_DT.+?=(?=\s) (?<SID_W_MAX_TRAN_DT>[^\s]+)
/
gm

Description

i was just trying to match words and assign them to variables that i could later search for in my logs

Submitted by anonymous - 6 years ago