Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(POST|CONNECT|GET)\s(.*)\s(HTTP.*)
/
gm

Description

Parse raw http request line

Submitted by Dimas Lanjaka - 10 months ago