Regular Expressions 101

Community Patterns

1

test

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
1

Ebay

PCRE (PHP <7.3)
no description available
Submitted by Sasan - 8 years ago
1

second life

PCRE (PHP <7.3)
sim regex
Submitted by tez - 8 years ago
1

Botanical Sciences

PCRE (PHP <7.3)
Grupo Autores
Submitted by anonymous - 8 years ago
1

as

PCRE (PHP <7.3)
as
Submitted by as - 8 years ago

my apache2 access.log regex

1

Regular Expression
PCRE (PHP <7.3)

/
(?<src_host>\w+\.\w+:\d{2})\s(?<src_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\D{1,6}(?<date_time>[^ ]+)\s(?<GMT_offset>[^ ]+)\]\s"(?<action>(GET|POST|HEAD|TRACE|PUT|DELETE|CONNECT))\s(?<hash_url>[^ ]+)\s(?<protocol>[^\"]+)\"\s(?<code>\d{1,3})\s(?<size>[^ ]+)\s\"(?<referrer>[^ ]+)\"\s\"(?<user_agent>[^ ]+.+)\"
/
g

Description

Loading markdown...
Submitted by marf - 8 years ago