Regular Expressions 101

Sponsors

Library entries

0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 4 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 4 days ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 4 days ago
0
pcre2

semantic-release

Teste semantic release
Submitted by leonardo.mendes - 7 days ago
0
pcre2

myspace

myspace
Submitted by anonymous - 8 days ago

web log entry

Vote

2

Regular Expression
pcre2

/
(?P<host>\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})(\s-\s)(?P<user_name>[\w-]*)(\s\[)(?P<time>\w*\/\w*\/\d{1,4}:\d{1,2}:\d{1,2}:\d{1,2}\s-\d{1,4})(\]\s\")(?P<request>.*)(")
/
gm

Description

Loading markdown...
Submitted by PepeRG - 2 years ago