Regular Expressions 101

Community Patterns

CSF Firewall SRC

1

Regular Expression
PCRE (PHP <7.3)

/
(?:SRC=([^ ]*))
/

Description

Gets the SRC IP address from the CSF Firewall logs

Submitted by anonymous - 8 years ago